diff options
Diffstat (limited to 'kapptemplate/kapp/appview.h')
-rw-r--r-- | kapptemplate/kapp/appview.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kapptemplate/kapp/appview.h b/kapptemplate/kapp/appview.h index 881b979c..76e61701 100644 --- a/kapptemplate/kapp/appview.h +++ b/kapptemplate/kapp/appview.h @@ -3,7 +3,7 @@ cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}view.h #ifndef ${APP_NAME_UC}VIEW_H #define ${APP_NAME_UC}VIEW_H -#include <qwidget.h> +#include <tqwidget.h> #include <kparts/part.h> #include <${APP_NAME_LC}iface.h> @@ -21,14 +21,14 @@ class KURL; * @author $AUTHOR <$EMAIL> * @version $APP_VERSION */ -class ${APP_NAME}View : public QWidget, public ${APP_NAME}Iface +class ${APP_NAME}View : public TQWidget, public ${APP_NAME}Iface { Q_OBJECT public: /** * Default constructor */ - ${APP_NAME}View(QWidget *parent); + ${APP_NAME}View(TQWidget *parent); /** * Destructor @@ -38,12 +38,12 @@ public: /** * Random 'get' function */ - QString currentURL(); + TQString currentURL(); /** * Random 'set' function accessed by DCOP */ - virtual void openURL(QString url); + virtual void openURL(TQString url); /** * Random 'set' function @@ -53,22 +53,22 @@ public: /** * Print this view to any medium -- paper or not */ - void print(QPainter *, int height, int width); + void print(TQPainter *, int height, int width); signals: /** * Use this signal to change the content of the statusbar */ - void signalChangeStatusbar(const QString& text); + void signalChangeStatusbar(const TQString& text); /** * Use this signal to change the content of the caption */ - void signalChangeCaption(const QString& text); + void signalChangeCaption(const TQString& text); private slots: - void slotOnURL(const QString& url); - void slotSetTitle(const QString& title); + void slotOnURL(const TQString& url); + void slotSetTitle(const TQString& title); private: KParts::ReadOnlyPart *m_html; |