diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/newformimpl.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; |