diff options
Diffstat (limited to 'kdevdesigner/designer/newformimpl.h')
-rw-r--r-- | kdevdesigner/designer/newformimpl.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/kdevdesigner/designer/newformimpl.h b/kdevdesigner/designer/newformimpl.h index acd597bf..b85e36c9 100644 --- a/kdevdesigner/designer/newformimpl.h +++ b/kdevdesigner/designer/newformimpl.h @@ -28,7 +28,7 @@ #define NEWFORMIMPL_H #include "newform.h" -#include <qiconview.h> +#include <tqiconview.h> class Project; @@ -43,8 +43,8 @@ public: SourceTemplateType }; - NewItem( QIconView *view, const QString &text ) - : QIconViewItem( view, text ) {} + NewItem( TQIconView *view, const TQString &text ) + : TQIconViewItem( view, text ) {} virtual void insert( Project *pro ) = 0; virtual void setProject( Project * ) {} @@ -53,15 +53,15 @@ public: class ProjectItem : public NewItem { public: - ProjectItem( QIconView *view, const QString &text ); + ProjectItem( TQIconView *view, const TQString &text ); void insert( Project *pro ); int rtti() const { return (int)ProjectType; } - void setLanguage( const QString &l ) { lang = l; } - QString language() const { return lang; } + void setLanguage( const TQString &l ) { lang = l; } + TQString language() const { return lang; } private: - QString lang; + TQString lang; }; @@ -75,7 +75,7 @@ public: MainWindow }; - FormItem( QIconView *view, const QString &text ); + FormItem( TQIconView *view, const TQString &text ); void insert( Project *pro ); int rtti() const { return (int)Form; } @@ -90,33 +90,33 @@ private: class CustomFormItem : public NewItem { public: - CustomFormItem( QIconView *view, const QString &text ); + CustomFormItem( TQIconView *view, const TQString &text ); void insert( Project *pro ); 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 SourceFileItem : public NewItem { public: - SourceFileItem( QIconView *view, const QString &text ); + SourceFileItem( TQIconView *view, const TQString &text ); void insert( Project *pro ); int rtti() const { return (int)SourceFileType; } - void setExtension( const QString &e ) { ext = e; } - QString extension() const { return ext; } - void setLanguage( const QString &l ) { lang = l; } + void setExtension( const TQString &e ) { ext = e; } + TQString extension() const { return ext; } + void setLanguage( const TQString &l ) { lang = l; } void setProject( Project *pro ); private: - QString ext; - QString lang; + TQString ext; + TQString lang; bool visible; }; @@ -124,18 +124,18 @@ private: class SourceTemplateItem : public NewItem { public: - SourceTemplateItem( QIconView *view, const QString &text ); + SourceTemplateItem( TQIconView *view, const TQString &text ); void insert( Project *pro ); int rtti() const { return (int)SourceTemplateType; } - void setTemplate( const QString &t ) { templ = t; } - QString tenplate() const { return templ; } - void setLanguage( const QString &l ) { lang = l; } + void setTemplate( const TQString &t ) { templ = t; } + TQString tenplate() const { return templ; } + void setLanguage( const TQString &l ) { lang = l; } void setProject( Project *pro ); private: - QString templ; - QString lang; + TQString templ; + TQString lang; bool visible; }; @@ -145,19 +145,19 @@ class NewForm : public NewFormBase Q_OBJECT public: - NewForm( QIconView *templateView, const QString &templatePath ); - NewForm( QWidget *parent, const QStringList& projects, - const QString& currentProject, const QString &templatePath ); - void insertTemplates( QIconView*, const QString& ); + NewForm( TQIconView *templateView, const TQString &templatePath ); + NewForm( TQWidget *parent, const TQStringList& projects, + const TQString& currentProject, const TQString &templatePath ); + void insertTemplates( TQIconView*, const TQString& ); void accept(); - QPtrList<QIconViewItem> allViewItems(); + TQPtrList<TQIconViewItem> allViewItems(); protected slots: - void projectChanged( const QString &project ); - void itemChanged( QIconViewItem *item ); + void projectChanged( const TQString &project ); + void itemChanged( TQIconViewItem *item ); private: - QPtrList<QIconViewItem> allItems; + TQPtrList<TQIconViewItem> allItems; }; |