From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- buildtools/qmake/qmakescopeitem.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'buildtools/qmake/qmakescopeitem.h') diff --git a/buildtools/qmake/qmakescopeitem.h b/buildtools/qmake/qmakescopeitem.h index 7c02a33a..be42af8f 100644 --- a/buildtools/qmake/qmakescopeitem.h +++ b/buildtools/qmake/qmakescopeitem.h @@ -9,27 +9,27 @@ * * ***************************************************************************/ -#ifndef _QMAKESCOPEITEM_H_ -#define _QMAKESCOPEITEM_H_ +#ifndef _TQMAKESCOPEITEM_H_ +#define _TQMAKESCOPEITEM_H_ #include #include class Scope; -class QMakeScopeItem; +class TQMakeScopeItem; class FileItem; class TrollProjectWidget; /** * Base class for all items appearing in ProjectOverview and ProjectDetails. */ -class qProjectItem : public QListViewItem +class qProjectItem : public TQListViewItem { public: enum Type { Subproject, Group, File }; - qProjectItem( Type type, TQListView *parent, const TQString &text ); - qProjectItem( Type type, qProjectItem *parent, const TQString &text ); + qProjectItem( Type type, TQListView *tqparent, const TQString &text ); + qProjectItem( Type type, qProjectItem *tqparent, const TQString &text ); TQString scopeString; Type type() @@ -50,7 +50,7 @@ public: static GroupType groupTypeForExtension( const TQString &ext ); static void groupTypeMeanings( GroupItem::GroupType type, TQString& title, TQString& ext ); - GroupItem( TQListView *lv, GroupType type, const TQString &text, QMakeScopeItem* spitem ); + GroupItem( TQListView *lv, GroupType type, const TQString &text, TQMakeScopeItem* spitem ); void removeFileFromScope( const TQString& filename); void addFileToScope( const TQString& filename); @@ -65,7 +65,7 @@ public: // TQStringList str_files_exclude; // end qmake INSTALLS support GroupType groupType; - QMakeScopeItem* owner; + TQMakeScopeItem* owner; protected: void paintCell( TQPainter* p, const TQColorGroup& cg, int column, int width, int align ); @@ -85,11 +85,11 @@ public: /** * Stores one Scope */ -class QMakeScopeItem : public qProjectItem +class TQMakeScopeItem : public qProjectItem { public: - QMakeScopeItem( TQListView *parent, const TQString &text, Scope *s, TrollProjectWidget* widget ); - QMakeScopeItem( QMakeScopeItem *parent, const TQString &text, Scope* ); + TQMakeScopeItem( TQListView *tqparent, const TQString &text, Scope *s, TrollProjectWidget* widget ); + TQMakeScopeItem( TQMakeScopeItem *tqparent, 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 ); @@ -98,7 +98,7 @@ public: void disableSubprojects( const TQStringList& ); void reloadProject(); int compare( TQListViewItem* i, int col, bool ascending ) const; - ~QMakeScopeItem(); + ~TQMakeScopeItem(); TQMap groups; @@ -110,10 +110,10 @@ public: TQString getApplicationObject( TQString ); TQString getIncAddPath( TQString downDirs ); FileItem* createFileItem(const TQString& file); - GroupItem* createGroupItem(GroupItem::GroupType type, const TQString& name, QMakeScopeItem* scopeitem); + GroupItem* createGroupItem(GroupItem::GroupType type, const TQString& name, TQMakeScopeItem* scopeitem); TQMap getLibInfos( TQString ); - QMakeScopeItem* projectFileItem(); + TQMakeScopeItem* projectFileItem(); TrollProjectWidget* m_widget; private: @@ -125,4 +125,4 @@ private: #endif -// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on +// kate: space-indent on; indent-width 4; tab-width 4; tqreplace-tabs on -- cgit v1.2.1