diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /languages/cpp/app_templates/tde4app/tdeapp4.h | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'languages/cpp/app_templates/tde4app/tdeapp4.h')
-rw-r--r-- | languages/cpp/app_templates/tde4app/tdeapp4.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tde4app/tdeapp4.h b/languages/cpp/app_templates/tde4app/tdeapp4.h new file mode 100644 index 00000000..3c209de2 --- /dev/null +++ b/languages/cpp/app_templates/tde4app/tdeapp4.h @@ -0,0 +1,54 @@ +%{H_TEMPLATE} +#ifndef %{APPNAMEUC}_H +#define %{APPNAMEUC}_H + + +#include <kxmlguiwindow.h> + +#include "ui_prefs_base.h" + +class %{APPNAME}View; +class KPrinter; +class TDEToggleAction; +class KUrl; + +/** + * This class serves as the main window for %{APPNAME}. It handles the + * menus, toolbars, and status bars. + * + * @short Main window class + * @author Andreas Pakulat <apaku@gmx.de> + * @version 0.1 + */ +class %{APPNAME} : public KXmlGuiWindow +{ + Q_OBJECT + +public: + /** + * Default Constructor + */ + %{APPNAME}(); + + /** + * Default Destructor + */ + virtual ~%{APPNAME}(); + +private slots: + void fileNew(); + void optionsPreferences(); + +private: + void setupActions(); + +private: + Ui::prefs_base ui_prefs_base ; + %{APPNAME}View *m_view; + + KPrinter *m_printer; + TDEToggleAction *m_toolbarAction; + TDEToggleAction *m_statusbarAction; +}; + +#endif // _%{APPNAMELC}_H_ |