summaryrefslogtreecommitdiffstats
path: root/kcachegrind/kcachegrind/traceitemview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kcachegrind/kcachegrind/traceitemview.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcachegrind/kcachegrind/traceitemview.h')
-rw-r--r--kcachegrind/kcachegrind/traceitemview.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kcachegrind/kcachegrind/traceitemview.h b/kcachegrind/kcachegrind/traceitemview.h
index d860072a..d42de924 100644
--- a/kcachegrind/kcachegrind/traceitemview.h
+++ b/kcachegrind/kcachegrind/traceitemview.h
@@ -72,10 +72,10 @@ public:
TraceItemView(TraceItemView* parentView, TopLevel* top = 0);
virtual ~TraceItemView() {}
- virtual QString whatsThis() const;
+ virtual TQString whatsThis() const;
- static KConfigGroup* configGroup(KConfig*, QString prefix, QString postfix);
- static void writeConfigEntry(KConfigBase*, const char* pKey, QString value,
+ static KConfigGroup* configGroup(KConfig*, TQString prefix, TQString postfix);
+ static void writeConfigEntry(KConfigBase*, const char* pKey, TQString value,
const char* def, bool bNLS = false);
static void writeConfigEntry(KConfigBase*, const char* pKey,
int value, int def);
@@ -83,9 +83,9 @@ public:
bool value, bool def);
static void writeConfigEntry(KConfigBase*, const char* pKey,
double value, double def);
- virtual void readViewConfig(KConfig*, QString prefix, QString postfix,
+ virtual void readViewConfig(KConfig*, TQString prefix, TQString postfix,
bool withOptions);
- virtual void saveViewConfig(KConfig*, QString prefix, QString postfix,
+ virtual void saveViewConfig(KConfig*, TQString prefix, TQString postfix,
bool withOptions);
// Immediate remove all references to old data, and set the new.
@@ -142,12 +142,12 @@ public:
void setPosition(Position p) { _pos = p; }
Position position() const { return _pos; }
- void setTitle(QString t) { _title = t; }
- QString title() const { return _title; }
+ void setTitle(TQString t) { _title = t; }
+ TQString title() const { return _title; }
// We depend on derived class to be a widget.
// Force overiding by making this abstract.
- virtual QWidget* widget() = 0;
+ virtual TQWidget* widget() = 0;
/**
* This function is called when a new item should become active.
@@ -161,8 +161,8 @@ public:
virtual TraceItem* canShow(TraceItem* i) { return i; }
/* convenience functions for often used context menu items */
- void addCostMenu(QPopupMenu*,bool withCost2 = true);
- void addGoMenu(QPopupMenu*);
+ void addCostMenu(TQPopupMenu*,bool withCost2 = true);
+ void addGoMenu(TQPopupMenu*);
protected:
// helpers to call selected()/activated() of parentView
@@ -197,7 +197,7 @@ private:
TraceCostType *_newCostType, *_newCostType2;
TraceItem::CostType _newGroupType;
- QString _title;
+ TQString _title;
int _status;
bool _inUpdate;
Position _pos;