From dc6b8e72fed2586239e3514819238c520636c9d9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:54:04 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/newformimpl.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kommander/editor/newformimpl.h') diff --git a/kommander/editor/newformimpl.h b/kommander/editor/newformimpl.h index 12fec22c..9aad4155 100644 --- a/kommander/editor/newformimpl.h +++ b/kommander/editor/newformimpl.h @@ -20,7 +20,7 @@ #define NEWFORMIMPL_H #include "newform.h" -#include +#include class FormFile; @@ -29,7 +29,7 @@ class NewItem : public QIconViewItem { public: enum Type {Form, CustomForm}; - NewItem( QIconView *view, const QString &text ) : QIconViewItem( view, text ) {} + NewItem( TQIconView *view, const TQString &text ) : TQIconViewItem( view, text ) {} virtual void insert( ) = 0; }; @@ -37,7 +37,7 @@ class FormItem : public NewItem { public: enum FormType {Dialog, Wizard, MainWindow}; - FormItem( QIconView *view, const QString &text); + FormItem( TQIconView *view, const TQString &text); void insert(); int rtti() const {return (int)Form;} void setFormType(FormType ft) {fType = ft;} @@ -49,25 +49,25 @@ private: class CustomFormItem : public NewItem { public: - CustomFormItem( QIconView *view, const QString &text ); + CustomFormItem( TQIconView *view, const TQString &text ); void insert(); int rtti() const {return (int)CustomForm; } - void setTemplateFile(const QString &tf) {templFile = tf;} - QString templateFileName() const {return templFile;} + void setTemplateFile(const TQString &tf) {templFile = tf;} + TQString templateFileName() const {return templFile;} private: - QString templFile; + TQString templFile; }; class NewForm : public NewFormBase { Q_OBJECT public: - NewForm( QWidget *parent, const QString &templatePath ); + NewForm( TQWidget *parent, const TQString &templatePath ); void accept(); protected slots: - void itemChanged(QIconViewItem *item); + void itemChanged(TQIconViewItem *item); private: - QPtrList allItems; + TQPtrList allItems; }; #endif -- cgit v1.2.1