summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/qmakescopeitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/qmake/qmakescopeitem.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
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
Diffstat (limited to 'buildtools/qmake/qmakescopeitem.h')
-rw-r--r--buildtools/qmake/qmakescopeitem.h30
1 files changed, 15 insertions, 15 deletions
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 <tqlistview.h>
#include <tqstring.h>
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<GroupItem::GroupType, GroupItem*> 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<TQString, TQString> 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