From 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 2 Mar 2014 20:05:33 +0100 Subject: Finish renaming tdevelop components --- languages/cpp/app_templates/kapp/app.h | 90 ---------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 languages/cpp/app_templates/kapp/app.h (limited to 'languages/cpp/app_templates/kapp/app.h') 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 -#endif - -#include -#include - -#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_ - -- cgit v1.2.1