20 #ifndef __KATE_APP_H__ 21 #define __KATE_APP_H__ 25 #include <tdeapplication.h> 27 #include <tqvaluelist.h> 30 class KateAppDCOPIface;
42 class TDE_EXPORT
KateApp :
public TDEApplication
78 static TQString kateVersion (
bool fullVersion =
true);
103 void shutdownKate(KateMainWindow *win);
115 bool query_session_close();
121 void reparse_config();
127 void optionsChanged();
137 KatePluginManager *pluginManager();
161 KateMainWindow *newMainWindow (TDEConfig *sconfig = 0,
const TQString &sgroup =
"");
167 void removeMainWindow (KateMainWindow *mainWindow);
174 KateMainWindow *activeMainWindow ();
180 uint mainWindows ()
const;
187 KateMainWindow *mainWindow (uint n);
201 bool openURL (
const KURL &url,
const TQString &encoding,
bool isTempFile );
209 bool setCursor (
int line,
int column);
217 bool openInput (
const TQString &text);
223 TDECmdLineArgs *m_args;
233 KateDocManager *m_docManager;
238 KatePluginManager *m_pluginManager;
248 TQValueList<KateMainWindow*> m_mainWindows;
253 KateAppDCOPIface *m_obj;
The Kate session manager.
Kate Application This class represents the core kate application object.
bool shouldExit()
application should exit
DocumentManager * documentManager()
Returns the document manager object.
Interface to the application, beside some global methodes to access other objects like document/proje...
Application * application()
Returns the application object.
Namespace collecting as much of the internal Kate classes as we can manage.