summaryrefslogtreecommitdiffstats
path: root/src/newui/docksplitter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/newui/docksplitter.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/newui/docksplitter.h')
-rw-r--r--src/newui/docksplitter.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/newui/docksplitter.h b/src/newui/docksplitter.h
index ce4a2e8e..c25dd495 100644
--- a/src/newui/docksplitter.h
+++ b/src/newui/docksplitter.h
@@ -20,8 +20,8 @@
#ifndef IDEALDOCKSPLITTER_H
#define IDEALDOCKSPLITTER_H
-#include <qsplitter.h>
-#include <qvaluelist.h>
+#include <tqsplitter.h>
+#include <tqvaluelist.h>
namespace Ideal {
@@ -30,16 +30,16 @@ class DockWidget;
/**
@short Splitter for docks
*/
-class DockSplitter: public QSplitter {
+class DockSplitter: public TQSplitter {
Q_OBJECT
public:
- DockSplitter(Orientation orientation, QWidget *parent = 0, const char *name = 0);
+ DockSplitter(Orientation orientation, TQWidget *parent = 0, const char *name = 0);
~DockSplitter();
- void addDock(uint row, uint col, QWidget *dock);
+ void addDock(uint row, uint col, TQWidget *dock);
void removeDock(uint row, uint col, bool alsoDelete = false);
- QPair<uint, uint> indexOf(QWidget *dock);
+ QPair<uint, uint> indexOf(TQWidget *dock);
int numRows() const;
int numCols(int row) const;
@@ -47,14 +47,14 @@ public:
protected:
void appendSplitter();
void createSplitters(uint index);
- void shiftWidgets(QSplitter *splitter, uint row, uint fromCol);
+ void shiftWidgets(TQSplitter *splitter, uint row, uint fromCol);
bool isRowEmpty(int row);
private:
Orientation m_orientation;
- QValueList<QSplitter*> m_splitters;
- QValueList<QValueList<QWidget*> > m_docks;
+ TQValueList<TQSplitter*> m_splitters;
+ TQValueList<TQValueList<TQWidget*> > m_docks;
};
}