diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 18:03:11 +0900 |
commit | b3f501d4920d589d126f1fe53cd7deb54cd8ef67 (patch) | |
tree | 2ce455340d62bb00f7775524d9acd4aa1f8d2d38 /ksim/monitors | |
parent | c28e0608a97f46e79194eed488c3430b4e6efb57 (diff) | |
download | tdeutils-b3f501d4920d589d126f1fe53cd7deb54cd8ef67.tar.gz tdeutils-b3f501d4920d589d126f1fe53cd7deb54cd8ef67.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 007026cdc4d51e217ce6317b87c0ff2b2d120c83)
Diffstat (limited to 'ksim/monitors')
-rw-r--r-- | ksim/monitors/cpu/ksimcpu.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/filesystem/filesystemwidget.cpp | 4 | ||||
-rw-r--r-- | ksim/monitors/net/ksimnet.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/net/netdialog.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
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()); |