diff options
Diffstat (limited to 'buildtools/qmake/qmakescopeitem.h')
-rw-r--r-- | buildtools/qmake/qmakescopeitem.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/buildtools/qmake/qmakescopeitem.h b/buildtools/qmake/qmakescopeitem.h index b2c84345..7c02a33a 100644 --- a/buildtools/qmake/qmakescopeitem.h +++ b/buildtools/qmake/qmakescopeitem.h @@ -12,8 +12,8 @@ #ifndef _QMAKESCOPEITEM_H_ #define _QMAKESCOPEITEM_H_ -#include <qlistview.h> -#include <qstring.h> +#include <tqlistview.h> +#include <tqstring.h> class Scope; class QMakeScopeItem; @@ -28,10 +28,10 @@ class qProjectItem : public QListViewItem public: enum Type { Subproject, Group, File }; - qProjectItem( Type type, QListView *parent, const QString &text ); - qProjectItem( Type type, qProjectItem *parent, const QString &text ); + qProjectItem( Type type, TQListView *parent, const TQString &text ); + qProjectItem( Type type, qProjectItem *parent, const TQString &text ); - QString scopeString; + TQString scopeString; Type type() { return typ; } @@ -47,28 +47,28 @@ class GroupItem : public qProjectItem public: enum GroupType {NoType, Sources, Headers, Forms, Distfiles, Images, Resources, Lexsources, Yaccsources, Translations, IDLs, InstallRoot, InstallObject, MaxTypeEnum }; - static GroupType groupTypeForExtension( const QString &ext ); - static void groupTypeMeanings( GroupItem::GroupType type, QString& title, QString& ext ); + static GroupType groupTypeForExtension( const TQString &ext ); + static void groupTypeMeanings( GroupItem::GroupType type, TQString& title, TQString& ext ); - GroupItem( QListView *lv, GroupType type, const QString &text, QMakeScopeItem* spitem ); + GroupItem( TQListView *lv, GroupType type, const TQString &text, QMakeScopeItem* spitem ); - void removeFileFromScope( const QString& filename); - void addFileToScope( const QString& filename); - void addInstallObject( const QString& objectname); + void removeFileFromScope( const TQString& filename); + void addFileToScope( const TQString& filename); + void addInstallObject( const TQString& objectname); void removeInstallObject( GroupItem* item ); // qmake INSTALLS support - QPtrList<GroupItem> installs; - QPtrList<FileItem> files; + TQPtrList<GroupItem> installs; + TQPtrList<FileItem> files; -// QStringList str_files; -// QStringList str_files_exclude; +// TQStringList str_files; +// TQStringList str_files_exclude; // end qmake INSTALLS support GroupType groupType; QMakeScopeItem* owner; protected: - void paintCell( QPainter* p, const QColorGroup& cg, int column, int width, int align ); + void paintCell( TQPainter* p, const TQColorGroup& cg, int column, int width, int align ); }; @@ -76,10 +76,10 @@ protected: class FileItem : public qProjectItem { public: - FileItem( QListView *lv, const QString &text ); + FileItem( TQListView *lv, const TQString &text ); - QString uiFileLink; - QString localFilePath; + TQString uiFileLink; + TQString localFilePath; }; /** @@ -88,30 +88,30 @@ public: class QMakeScopeItem : public qProjectItem { public: - QMakeScopeItem( QListView *parent, const QString &text, Scope *s, TrollProjectWidget* widget ); - QMakeScopeItem( QMakeScopeItem *parent, const QString &text, Scope* ); - void updateValues( const QString& var, const QStringList& values ); - void addValue( const QString& var, const QString& value ); - void removeValue( const QString& var, const QString& value ); - void addValues( const QString& var, const QStringList& values ); - void removeValues( const QString& var, const QStringList& values ); - void disableSubprojects( const QStringList& ); + QMakeScopeItem( TQListView *parent, const TQString &text, Scope *s, TrollProjectWidget* widget ); + QMakeScopeItem( QMakeScopeItem *parent, const TQString &text, Scope* ); + void updateValues( const TQString& var, const TQStringList& values ); + void addValue( const TQString& var, const TQString& value ); + void removeValue( const TQString& var, const TQString& value ); + void addValues( const TQString& var, const TQStringList& values ); + void removeValues( const TQString& var, const TQStringList& values ); + void disableSubprojects( const TQStringList& ); void reloadProject(); - int compare( QListViewItem* i, int col, bool ascending ) const; + int compare( TQListViewItem* i, int col, bool ascending ) const; ~QMakeScopeItem(); - QMap<GroupItem::GroupType, GroupItem*> groups; + TQMap<GroupItem::GroupType, GroupItem*> groups; Scope* scope; - QString relativePath(); - QString getLibAddPath( QString ); - QString getLibAddObject( QString ); - QString getSharedLibAddObject( QString ); - QString getApplicationObject( QString ); - QString getIncAddPath( QString downDirs ); - FileItem* createFileItem(const QString& file); - GroupItem* createGroupItem(GroupItem::GroupType type, const QString& name, QMakeScopeItem* scopeitem); - QMap<QString, QString> getLibInfos( QString ); + TQString relativePath(); + TQString getLibAddPath( TQString ); + TQString getLibAddObject( TQString ); + TQString getSharedLibAddObject( TQString ); + TQString getApplicationObject( TQString ); + TQString getIncAddPath( TQString downDirs ); + FileItem* createFileItem(const TQString& file); + GroupItem* createGroupItem(GroupItem::GroupType type, const TQString& name, QMakeScopeItem* scopeitem); + TQMap<TQString, TQString> getLibInfos( TQString ); QMakeScopeItem* projectFileItem(); |