summaryrefslogtreecommitdiffstats
path: root/cervisia/logtree.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 /cervisia/logtree.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 'cervisia/logtree.h')
-rw-r--r--cervisia/logtree.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/cervisia/logtree.h b/cervisia/logtree.h
index 9ab505bc..360a1a99 100644
--- a/cervisia/logtree.h
+++ b/cervisia/logtree.h
@@ -23,9 +23,9 @@
#define LOGTREE_H
-#include <qptrlist.h>
+#include <tqptrlist.h>
-#include <qtable.h>
+#include <tqtable.h>
class LogTreeItem;
@@ -37,8 +37,8 @@ struct LogInfo;
}
-typedef QPtrList<LogTreeItem> LogTreeItemList;
-typedef QPtrList<LogTreeConnection> LogTreeConnectionList;
+typedef TQPtrList<LogTreeItem> LogTreeItemList;
+typedef TQPtrList<LogTreeConnection> LogTreeConnectionList;
class LogTreeView : public QTable
@@ -46,34 +46,34 @@ class LogTreeView : public QTable
Q_OBJECT
public:
- explicit LogTreeView( QWidget *parent=0, const char *name=0 );
+ explicit LogTreeView( TQWidget *parent=0, const char *name=0 );
void addRevision(const Cervisia::LogInfo& logInfo);
- void setSelectedPair(QString selectionA, QString selectionB);
+ void setSelectedPair(TQString selectionA, TQString selectionB);
void collectConnections();
void recomputeCellSizes();
- virtual void paintCell(QPainter *p, int row, int col, const QRect& cr,
- bool selected, const QColorGroup& cg);
+ virtual void paintCell(TQPainter *p, int row, int col, const TQRect& cr,
+ bool selected, const TQColorGroup& cg);
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
- virtual QString text(int row, int col) const;
+ virtual TQString text(int row, int col) const;
signals:
- void revisionClicked(QString rev, bool rmb);
+ void revisionClicked(TQString rev, bool rmb);
protected:
- virtual void contentsMousePressEvent(QMouseEvent *e);
+ virtual void contentsMousePressEvent(TQMouseEvent *e);
private slots:
- void slotQueryToolTip(const QPoint&, QRect&, QString&);
+ void slotQueryToolTip(const TQPoint&, TQRect&, TQString&);
private:
- QSize computeSize(const Cervisia::LogInfo&, int* = 0, int* = 0) const;
- void paintRevisionCell(QPainter *p, int row, int col, const Cervisia::LogInfo& logInfo,
+ TQSize computeSize(const Cervisia::LogInfo&, int* = 0, int* = 0) const;
+ void paintRevisionCell(TQPainter *p, int row, int col, const Cervisia::LogInfo& logInfo,
bool followed, bool branched, bool selected);
- void paintConnector(QPainter *p, int row, int col, bool followed, bool branched);
+ void paintConnector(TQPainter *p, int row, int col, bool followed, bool branched);
LogTreeItemList items;
LogTreeConnectionList connections;