diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/logtree.h | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/logtree.h')
-rw-r--r-- | cervisia/logtree.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cervisia/logtree.h b/cervisia/logtree.h index 360a1a99..0180491d 100644 --- a/cervisia/logtree.h +++ b/cervisia/logtree.h @@ -41,12 +41,13 @@ typedef TQPtrList<LogTreeItem> LogTreeItemList; typedef TQPtrList<LogTreeConnection> LogTreeConnectionList; -class LogTreeView : public QTable +class LogTreeView : public TQTable { Q_OBJECT + TQ_OBJECT public: - explicit LogTreeView( TQWidget *parent=0, const char *name=0 ); + explicit LogTreeView( TQWidget *tqparent=0, const char *name=0 ); void addRevision(const Cervisia::LogInfo& logInfo); void setSelectedPair(TQString selectionA, TQString selectionB); @@ -55,7 +56,7 @@ public: virtual void paintCell(TQPainter *p, int row, int col, const TQRect& cr, bool selected, const TQColorGroup& cg); - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; virtual TQString text(int row, int col) const; |