diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:27:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:36:24 +0900 |
commit | 6b0cf55d6252a256d9fc5bcb89837bec7f21f40d (patch) | |
tree | d7b0d2851112aab7e3f7f1a8f8f3ea8de4034350 /src/newui | |
parent | e531a8d913f8e44fd1e7b20b1ef8e60fd2dc7be0 (diff) | |
download | tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.tar.gz tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/newui')
-rw-r--r-- | src/newui/dmainwindow.cpp | 2 | ||||
-rw-r--r-- | src/newui/docksplitter.cpp | 18 | ||||
-rw-r--r-- | src/newui/docksplitter.h | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/newui/dmainwindow.cpp b/src/newui/dmainwindow.cpp index 55fd0a9c..bc50b6f4 100644 --- a/src/newui/dmainwindow.cpp +++ b/src/newui/dmainwindow.cpp @@ -34,7 +34,7 @@ DMainWindow::DMainWindow(TQWidget *parent, const char *name) { loadSettings(); createToolWindows(); - m_central = new Ideal::DockSplitter(Qt::Horizontal, this); + m_central = new Ideal::DockSplitter(TQt::Horizontal, this); m_activeTabWidget = createTab(); m_central->addDock(0, 0, m_activeTabWidget); setCentralWidget(m_central); diff --git a/src/newui/docksplitter.cpp b/src/newui/docksplitter.cpp index 6cfa9445..c3ca883b 100644 --- a/src/newui/docksplitter.cpp +++ b/src/newui/docksplitter.cpp @@ -23,16 +23,16 @@ namespace Ideal { -DockSplitter::DockSplitter(Qt::Orientation orientation, TQWidget *parent, const char *name) +DockSplitter::DockSplitter(TQt::Orientation orientation, TQWidget *parent, const char *name) :TQSplitter(parent, name), m_orientation(orientation) { switch (m_orientation) { - case Qt::Horizontal: - setOrientation(Qt::Vertical); + case TQt::Horizontal: + setOrientation(TQt::Vertical); break; - case Qt::Vertical: - setOrientation(Qt::Horizontal); + case TQt::Vertical: + setOrientation(TQt::Horizontal); break; } setOpaqueResize(true); @@ -73,11 +73,11 @@ void DockSplitter::appendSplitter() { switch (m_orientation) { - case Qt::Horizontal: - m_splitters.append(new TQSplitter(Qt::Horizontal, this)); + case TQt::Horizontal: + m_splitters.append(new TQSplitter(TQt::Horizontal, this)); break; - case Qt::Vertical: - m_splitters.append(new TQSplitter(Qt::Vertical, this)); + case TQt::Vertical: + m_splitters.append(new TQSplitter(TQt::Vertical, this)); break; } m_splitters[m_splitters.size()-1]->setOpaqueResize(true); diff --git a/src/newui/docksplitter.h b/src/newui/docksplitter.h index c28153dc..1d2a2d56 100644 --- a/src/newui/docksplitter.h +++ b/src/newui/docksplitter.h @@ -34,7 +34,7 @@ class DockSplitter: public TQSplitter { TQ_OBJECT public: - DockSplitter(Qt::Orientation orientation, TQWidget *parent = 0, const char *name = 0); + DockSplitter(TQt::Orientation orientation, TQWidget *parent = 0, const char *name = 0); ~DockSplitter(); void addDock(uint row, uint col, TQWidget *dock); @@ -53,7 +53,7 @@ protected: bool isRowEmpty(int row); private: - Qt::Orientation m_orientation; + TQt::Orientation m_orientation; TQValueList<TQSplitter*> m_splitters; TQValueList<TQValueList<TQWidget*> > m_docks; }; |