summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:40 +0900
commit007026cdc4d51e217ce6317b87c0ff2b2d120c83 (patch)
treee44642c9aa2755473430d44da4e3ce6d7a892fc8 /ksim
parenta2da8d06203ef630594a41222c0c3a16bedb86c4 (diff)
downloadtdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.tar.gz
tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksim')
-rw-r--r--ksim/generalprefs.cpp8
-rw-r--r--ksim/ksimview.cpp4
-rw-r--r--ksim/ksimview.h2
-rw-r--r--ksim/library/pluginmodule.cpp2
-rw-r--r--ksim/monitors/cpu/ksimcpu.cpp2
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.cpp4
-rw-r--r--ksim/monitors/net/ksimnet.cpp2
-rw-r--r--ksim/monitors/net/netdialog.cpp2
-rw-r--r--ksim/themeprefs.cpp2
9 files changed, 14 insertions, 14 deletions
diff --git a/ksim/generalprefs.cpp b/ksim/generalprefs.cpp
index 42148d6..b7b9b4d 100644
--- a/ksim/generalprefs.cpp
+++ b/ksim/generalprefs.cpp
@@ -48,7 +48,7 @@ KSim::GeneralPrefs::GeneralPrefs(TQWidget *parent, const char *name)
m_sizeBox = new TQGroupBox(this);
m_sizeBox->setTitle(i18n("Graph Size"));
- m_sizeBox->setColumnLayout(0, Qt::Horizontal);
+ m_sizeBox->setColumnLayout(0, TQt::Horizontal);
TQGridLayout *sizeBoxLayout = new TQGridLayout(m_sizeBox->layout());
sizeBoxLayout->setSpacing(6);
@@ -210,7 +210,7 @@ KSim::UptimePrefs::UptimePrefs(TQWidget *parent, const char *name)
m_uptimeBox = new TQGroupBox(this);
m_uptimeBox->setTitle(i18n("Uptime Legend"));
- m_uptimeBox->setColumnLayout(0, Qt::Vertical);
+ m_uptimeBox->setColumnLayout(0, TQt::Vertical);
m_uptimeBox->layout()->setSpacing(0);
m_uptimeBox->layout()->setMargin(0);
m_boxLayout = new TQVBoxLayout(m_uptimeBox->layout());
@@ -346,7 +346,7 @@ KSim::MemoryPrefs::MemoryPrefs(TQWidget *parent, const char *name)
m_memBox = new TQGroupBox(this);
m_memBox->setTitle(i18n("Memory Legend"));
- m_memBox->setColumnLayout(0, Qt::Vertical);
+ m_memBox->setColumnLayout(0, TQt::Vertical);
m_memBox->layout()->setSpacing(0);
m_memBox->layout()->setMargin(0);
m_boxLayout = new TQVBoxLayout(m_memBox->layout());
@@ -495,7 +495,7 @@ KSim::SwapPrefs::SwapPrefs(TQWidget *parent, const char *name)
m_swapBox = new TQGroupBox(this);
m_swapBox->setTitle(i18n("Swap Legend"));
- m_swapBox->setColumnLayout(0, Qt::Vertical);
+ m_swapBox->setColumnLayout(0, TQt::Vertical);
m_swapBox->layout()->setSpacing(0);
m_swapBox->layout()->setMargin(0);
m_boxLayout = new TQVBoxLayout(m_swapBox->layout());
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp
index 5e83641..21b4fa6 100644
--- a/ksim/ksimview.cpp
+++ b/ksim/ksimview.cpp
@@ -458,9 +458,9 @@ TQSize KSim::MainView::sizeHint(KPanelExtension::Position p, TQSize) const
return TQSize(width, height);
}
-void KSim::MainView::positionChange(Qt::Orientation o)
+void KSim::MainView::positionChange(TQt::Orientation o)
{
- if (o == Qt::Vertical)
+ if (o == TQt::Vertical)
m_pluginLayout->setDirection(TQBoxLayout::TopToBottom);
else
m_pluginLayout->setDirection(TQBoxLayout::LeftToRight);
diff --git a/ksim/ksimview.h b/ksim/ksimview.h
index 067324d..92e2923 100644
--- a/ksim/ksimview.h
+++ b/ksim/ksimview.h
@@ -64,7 +64,7 @@ namespace KSim
void makeDirs();
TQSize sizeHint(KPanelExtension::Position, TQSize maxSize) const;
- void positionChange(Qt::Orientation);
+ void positionChange(TQt::Orientation);
k_dcop:
const TQString &hostname() const;
diff --git a/ksim/library/pluginmodule.cpp b/ksim/library/pluginmodule.cpp
index 7f450de..7ef24b2 100644
--- a/ksim/library/pluginmodule.cpp
+++ b/ksim/library/pluginmodule.cpp
@@ -159,7 +159,7 @@ void KSim::PluginView::doCommand()
void KSim::PluginView::mousePressEvent(TQMouseEvent *ev)
{
- if (ev->button() == Qt::LeftButton)
+ if (ev->button() == TQt::LeftButton)
doCommand();
}
diff --git a/ksim/monitors/cpu/ksimcpu.cpp b/ksim/monitors/cpu/ksimcpu.cpp
index af6074c..68b2b90 100644
--- a/ksim/monitors/cpu/ksimcpu.cpp
+++ b/ksim/monitors/cpu/ksimcpu.cpp
@@ -391,7 +391,7 @@ CpuConfig::CpuConfig(KSim::PluginObject *parent, const char *name)
mainLayout->addLayout( layout );
m_legendBox = new TQGroupBox(this);
- m_legendBox->setColumnLayout(0, Qt::Vertical);
+ m_legendBox->setColumnLayout(0, TQt::Vertical);
m_legendBox->setTitle(i18n("Chart Legend"));
m_legendBox->layout()->setSpacing(0);
m_legendBox->layout()->setMargin(0);
diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp
index 35e79b9..b60ba43 100644
--- a/ksim/monitors/filesystem/filesystemwidget.cpp
+++ b/ksim/monitors/filesystem/filesystemwidget.cpp
@@ -152,12 +152,12 @@ bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e)
if (o == progressBar && e->type() == TQEvent::MouseButtonPress)
{
switch(TQT_TQMOUSEEVENT(e)->button()) {
- case Qt::RightButton:
+ case TQt::RightButton:
showMenu(i);
break;
default:
break;
- case Qt::LeftButton:
+ case TQt::LeftButton:
if (parentWidget()->inherits("KSim::PluginView"))
static_cast<KSim::PluginView *>(parentWidget())->doCommand();
break;
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index 338ac06..d686a10 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -642,7 +642,7 @@ bool NetView::eventFilter( TQObject * o, TQEvent * e )
if ( e->type() == TQEvent::MouseButtonPress )
{
- if ( TQT_TQMOUSEEVENT( e )->button() == Qt::RightButton )
+ if ( TQT_TQMOUSEEVENT( e )->button() == TQt::RightButton )
{
showMenu(i);
}
diff --git a/ksim/monitors/net/netdialog.cpp b/ksim/monitors/net/netdialog.cpp
index 21d6236..12ef26d 100644
--- a/ksim/monitors/net/netdialog.cpp
+++ b/ksim/monitors/net/netdialog.cpp
@@ -85,7 +85,7 @@ NetDialog::NetDialog(TQWidget *parent, const char *name)
m_timerBox = new TQGroupBox(m_generalTab);
m_timerBox->setTitle(i18n("Timer"));
- m_timerBox->setColumnLayout(0, Qt::Vertical);
+ m_timerBox->setColumnLayout(0, TQt::Vertical);
m_timerBox->layout()->setSpacing(0);
m_timerBox->layout()->setMargin(0);
m_timerBoxLayout = new TQVBoxLayout(m_timerBox->layout());
diff --git a/ksim/themeprefs.cpp b/ksim/themeprefs.cpp
index 9ab7f60..b0218d4 100644
--- a/ksim/themeprefs.cpp
+++ b/ksim/themeprefs.cpp
@@ -81,7 +81,7 @@ KSim::ThemePrefs::ThemePrefs(TQWidget *parent, const char *name)
this, TQT_SLOT(openURL(const TQString &)));
m_themeLayout->addMultiCellWidget(m_urlLabel, 1, 1, 0, 4);
- m_line = new KSeparator(Qt::Horizontal, this);
+ m_line = new KSeparator(TQt::Horizontal, this);
m_themeLayout->addMultiCellWidget(m_line, 2, 2, 0, 4);
m_authorLabel = new TQLabel(this);