summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:36:24 +0900
commit6b0cf55d6252a256d9fc5bcb89837bec7f21f40d (patch)
treed7b0d2851112aab7e3f7f1a8f8f3ea8de4034350 /src
parente531a8d913f8e44fd1e7b20b1ef8e60fd2dc7be0 (diff)
downloadtdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.tar.gz
tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/languageselectwidget.cpp4
-rw-r--r--src/multibuffer.cpp8
-rw-r--r--src/multibuffer.h2
-rw-r--r--src/newui/dmainwindow.cpp2
-rw-r--r--src/newui/docksplitter.cpp18
-rw-r--r--src/newui/docksplitter.h4
6 files changed, 19 insertions, 19 deletions
diff --git a/src/languageselectwidget.cpp b/src/languageselectwidget.cpp
index 7a8695ff..52dd0053 100644
--- a/src/languageselectwidget.cpp
+++ b/src/languageselectwidget.cpp
@@ -63,7 +63,7 @@ void LanguageSelectWidget::init()
TQVBoxLayout *layout = new TQVBoxLayout(this);
TQGroupBox * groupBox1 = new TQGroupBox( i18n("Additional Language Support"), this );
- groupBox1->setColumnLayout(0, Qt::Vertical );
+ groupBox1->setColumnLayout(0, TQt::Vertical );
groupBox1->layout()->setSpacing( 6 );
groupBox1->layout()->setMargin( 11 );
TQVBoxLayout * groupBox1Layout = new TQVBoxLayout( groupBox1->layout() );
@@ -81,7 +81,7 @@ void LanguageSelectWidget::init()
layout->addWidget( groupBox1 );
TQGroupBox * groupBox2 = new TQGroupBox( i18n("Description"), this );
- groupBox2->setColumnLayout(0, Qt::Vertical );
+ groupBox2->setColumnLayout(0, TQt::Vertical );
groupBox2->layout()->setSpacing( 6 );
groupBox2->layout()->setMargin( 11 );
TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->layout() );
diff --git a/src/multibuffer.cpp b/src/multibuffer.cpp
index 33110d01..2ec9fd44 100644
--- a/src/multibuffer.cpp
+++ b/src/multibuffer.cpp
@@ -57,12 +57,12 @@ MultiBuffer::MultiBuffer( TQWidget *parent )
API::getInstance() ->languageSupport() )
{
setOrientation( lang->splitOrientation() );
- connect( lang, TQT_SIGNAL( splitOrientationChanged( Qt::Orientation ) ),
- this, TQT_SLOT( setOrientation( Qt::Orientation ) ) );
+ connect( lang, TQT_SIGNAL( splitOrientationChanged( TQt::Orientation ) ),
+ this, TQT_SLOT( setOrientation( TQt::Orientation ) ) );
}
else
{
- setOrientation( Qt::Vertical );
+ setOrientation( TQt::Vertical );
}
}
@@ -249,7 +249,7 @@ void MultiBuffer::show()
TQSplitter::show();
}
-void MultiBuffer::setOrientation( Qt::Orientation orientation )
+void MultiBuffer::setOrientation( TQt::Orientation orientation )
{
TQSplitter::setOrientation( orientation );
}
diff --git a/src/multibuffer.h b/src/multibuffer.h
index 9893a7c6..12967e34 100644
--- a/src/multibuffer.h
+++ b/src/multibuffer.h
@@ -67,7 +67,7 @@ public:
public slots:
virtual void show();
- virtual void setOrientation( Qt::Orientation );
+ virtual void setOrientation( TQt::Orientation );
void activePartChanged( const KURL &url );
protected:
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;
};