1
echo "Creating $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}.h...";
2
cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}.h
3
#ifndef ${APP_NAME_UC}_H
4
#define ${APP_NAME_UC}_H
10
#include <kapplication.h>
11
#include <kparts/mainwindow.h>
14
* This is the application "Shell". It has a menubar, toolbar, and
15
* statusbar but relies on the "Part" to do all the real work.
17
* @short Application Shell
18
* @author ${AUTHOR} <${EMAIL}>
19
* @version ${APP_VERSION}
21
class ${APP_NAME} : public KParts::MainWindow
33
virtual ~${APP_NAME}();
36
* Use this method to load whatever file/URL you have
38
void load(const KURL& url);
42
* This method is called when it is time for the app to save its
43
* properties for session management purposes.
45
void saveProperties(KConfig *);
48
* This method is called when this app is restored. The KConfig
49
* object points to the session management config file that was saved
50
* with @ref saveProperties
52
void readProperties(KConfig *);
57
void optionsConfigureKeys();
58
void optionsConfigureToolbars();
60
void applyNewToolbarConfig();
67
KParts::ReadWritePart *m_part;
70
#endif // ${APP_NAME_UC}_H