summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 23:07:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 23:07:43 +0900
commit84c57055d607cbb05adfacb46b1d8a21685c098a (patch)
tree7ff51090f114461a30178e012e7a9bac925e011f /apps
parentf25d0eec8a3966312528f6fc84dabda64749691d (diff)
downloadktorrent-84c57055d607cbb05adfacb46b1d8a21685c098a.tar.gz
ktorrent-84c57055d607cbb05adfacb46b1d8a21685c098a.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'apps')
-rw-r--r--apps/ktorrent/ktorrentview.cpp2
-rw-r--r--apps/ktorrent/newui/dmainwindow.cpp2
-rw-r--r--apps/ktorrent/newui/docksplitter.cpp18
-rw-r--r--apps/ktorrent/newui/docksplitter.h4
4 files changed, 13 insertions, 13 deletions
diff --git a/apps/ktorrent/ktorrentview.cpp b/apps/ktorrent/ktorrentview.cpp
index a22afcb..7adc488 100644
--- a/apps/ktorrent/ktorrentview.cpp
+++ b/apps/ktorrent/ktorrentview.cpp
@@ -69,7 +69,7 @@ bool TorrentView::eventFilter(TQObject* watched, TQEvent* e)
{
case TQEvent::MouseButtonPress:
{
- if(TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton)
+ if(TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton)
ktview->m_headerMenu->popup(TQCursor::pos());
break;
diff --git a/apps/ktorrent/newui/dmainwindow.cpp b/apps/ktorrent/newui/dmainwindow.cpp
index dd90345..b2df871 100644
--- a/apps/ktorrent/newui/dmainwindow.cpp
+++ b/apps/ktorrent/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/apps/ktorrent/newui/docksplitter.cpp b/apps/ktorrent/newui/docksplitter.cpp
index bb6a68d..fde09d8 100644
--- a/apps/ktorrent/newui/docksplitter.cpp
+++ b/apps/ktorrent/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/apps/ktorrent/newui/docksplitter.h b/apps/ktorrent/newui/docksplitter.h
index f1be737..3856c4c 100644
--- a/apps/ktorrent/newui/docksplitter.h
+++ b/apps/ktorrent/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;
};