summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp/app.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /languages/cpp/app_templates/kapp/app.h
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'languages/cpp/app_templates/kapp/app.h')
-rw-r--r--languages/cpp/app_templates/kapp/app.h90
1 files changed, 0 insertions, 90 deletions
diff --git a/languages/cpp/app_templates/kapp/app.h b/languages/cpp/app_templates/kapp/app.h
deleted file mode 100644
index 5f39dd11..00000000
--- a/languages/cpp/app_templates/kapp/app.h
+++ /dev/null
@@ -1,90 +0,0 @@
-%{H_TEMPLATE}
-
-#ifndef _%{APPNAMEUC}_H_
-#define _%{APPNAMEUC}_H_
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <tdeapplication.h>
-#include <tdemainwindow.h>
-
-#include "%{APPNAMELC}view.h"
-
-class KPrinter;
-class KURL;
-
-/**
- * This class serves as the main window for %{APPNAME}. It handles the
- * menus, toolbars, and status bars.
- *
- * @short Main window class
- * @author %{AUTHOR} <%{EMAIL}>
- * @version %{VERSION}
- */
-class %{APPNAME} : public TDEMainWindow
-{
- Q_OBJECT
-
-public:
- /**
- * Default Constructor
- */
- %{APPNAME}();
-
- /**
- * Default Destructor
- */
- virtual ~%{APPNAME}();
-
- /**
- * Use this method to load whatever file/URL you have
- */
- void load(const KURL& url);
-
-protected:
- /**
- * Overridden virtuals for TQt drag 'n drop (XDND)
- */
- virtual void dragEnterEvent(TQDragEnterEvent *event);
- virtual void dropEvent(TQDropEvent *event);
-
-protected:
- /**
- * This function is called when it is time for the app to save its
- * properties for session management purposes.
- */
- void saveProperties(TDEConfig *);
-
- /**
- * This function is called when this app is restored. The TDEConfig
- * object points to the session management config file that was saved
- * with @ref saveProperties
- */
- void readProperties(TDEConfig *);
-
-
-private slots:
- void fileNew();
- void fileOpen();
- void fileSave();
- void fileSaveAs();
- void filePrint();
- void optionsPreferences();
-
- void changeStatusbar(const TQString& text);
- void changeCaption(const TQString& text);
-
-private:
- void setupAccel();
- void setupActions();
-
-private:
- %{APPNAME}View *m_view;
-
- KPrinter *m_printer;
-};
-
-#endif // _%{APPNAMEUC}_H_
-