2
#ifndef _%{APPNAMEUC}_H_
3
#define _%{APPNAMEUC}_H_
9
#include <kapplication.h>
10
#include <kparts/mainwindow.h>
15
* This is the application "Shell". It has a menubar, toolbar, and
16
* statusbar but relies on the "Part" to do all the real work.
18
* @short Application Shell
19
* @author %{AUTHOR} <%{EMAIL}>
22
class %{APPNAME} : public KParts::MainWindow
34
virtual ~%{APPNAME}();
37
* Use this method to load whatever file/URL you have
39
void load(const KURL& url);
43
* This method is called when it is time for the app to save its
44
* properties for session management purposes.
46
void saveProperties(KConfig *);
49
* This method is called when this app is restored. The KConfig
50
* object points to the session management config file that was saved
51
* with @ref saveProperties
53
void readProperties(KConfig *);
58
void optionsShowToolbar();
59
void optionsShowStatusbar();
60
void optionsConfigureKeys();
61
void optionsConfigureToolbars();
63
void applyNewToolbarConfig();
70
KParts::ReadWritePart *m_part;
72
KToggleAction *m_toolbarAction;
73
KToggleAction *m_statusbarAction;
76
#endif // _%{APPNAMEUC}_H_