summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:29:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:29:01 +0000
commitb678e7f967f438e123324c7a34b02388e68d70dc (patch)
tree5720acc1076baf217f77c48c96f7cabdbab4382b /ksim
parent5f5ee2367157176ed223b86343eb0a9e4022e020 (diff)
downloadtdeutils-b678e7f967f438e123324c7a34b02388e68d70dc.tar.gz
tdeutils-b678e7f967f438e123324c7a34b02388e68d70dc.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1158453 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim')
-rw-r--r--ksim/generalprefs.cpp6
-rw-r--r--ksim/generalprefs.h20
-rw-r--r--ksim/ksim.h2
-rw-r--r--ksim/ksimpref.h2
-rw-r--r--ksim/ksimsysinfo.h4
-rw-r--r--ksim/ksimview.cpp6
-rw-r--r--ksim/ksimview.h8
-rw-r--r--ksim/library/chart.cpp2
-rw-r--r--ksim/library/chart.h2
-rw-r--r--ksim/library/pluginmodule.h2
-rw-r--r--ksim/library/themeloader.h6
-rw-r--r--ksim/monitors/cpu/ksimcpu.cpp2
-rw-r--r--ksim/monitors/cpu/ksimcpu.h18
-rw-r--r--ksim/monitors/disk/ksimdisk.cpp2
-rw-r--r--ksim/monitors/disk/ksimdisk.h12
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.h2
-rw-r--r--ksim/monitors/filesystem/fsystemconfig.h8
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.h2
-rw-r--r--ksim/monitors/i8k/ksimi8k.h8
-rw-r--r--ksim/monitors/lm_sensors/sensorbase.h2
-rw-r--r--ksim/monitors/lm_sensors/sensorsconfig.h16
-rw-r--r--ksim/monitors/net/ksimnet.h6
-rw-r--r--ksim/monitors/net/netconfig.cpp2
-rw-r--r--ksim/monitors/net/netconfig.h8
-rw-r--r--ksim/monitors/net/netdialog.h12
-rw-r--r--ksim/monitors/snmp/view.h2
-rw-r--r--ksim/themeprefs.h6
27 files changed, 84 insertions, 84 deletions
diff --git a/ksim/generalprefs.cpp b/ksim/generalprefs.cpp
index 8b308a6..ef4519b 100644
--- a/ksim/generalprefs.cpp
+++ b/ksim/generalprefs.cpp
@@ -191,7 +191,7 @@ KSim::UptimePrefs::UptimePrefs(TQWidget *parent, const char *name)
m_uptimeAdd, TQT_SLOT(setEnabled(bool)));
m_mainLayout->addWidget(m_uptimeCheck);
- m_subLayout = new QHBoxLayout;
+ m_subLayout = new TQHBoxLayout;
m_subLayout->setSpacing(6);
m_formatLabel = new TQLabel(this);
@@ -327,7 +327,7 @@ KSim::MemoryPrefs::MemoryPrefs(TQWidget *parent, const char *name)
m_memoryAdd, TQT_SLOT(setEnabled(bool)));
m_mainLayout->addWidget(m_memCheck);
- m_subLayout = new QHBoxLayout;
+ m_subLayout = new TQHBoxLayout;
m_subLayout->setSpacing(6);
m_memFormat = new TQLabel(this);
@@ -472,7 +472,7 @@ KSim::SwapPrefs::SwapPrefs(TQWidget *parent, const char *name)
connect(m_swapAdd, TQT_SIGNAL(clicked()), TQT_SLOT(insertSwapItem()));
TQToolTip::add(m_swapAdd, i18n("Insert item"));
- m_subLayout = new QHBoxLayout;
+ m_subLayout = new TQHBoxLayout;
m_subLayout->setSpacing(6);
connect(m_swapCheck, TQT_SIGNAL(toggled(bool)),
m_swapCombo, TQT_SLOT(setEnabled(bool)));
diff --git a/ksim/generalprefs.h b/ksim/generalprefs.h
index 3b861a8..33ae908 100644
--- a/ksim/generalprefs.h
+++ b/ksim/generalprefs.h
@@ -23,17 +23,17 @@
#include <tqwidget.h>
#include <tqiconset.h>
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QTabWidget;
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQGridLayout;
+class TQCheckBox;
+class TQGroupBox;
+class TQLabel;
+class TQLineEdit;
+class TQTabWidget;
class KComboBox;
-class QPopupMenu;
-class QPushButton;
+class TQPopupMenu;
+class TQPushButton;
class KIntSpinBox;
namespace KSim
diff --git a/ksim/ksim.h b/ksim/ksim.h
index 3bdc341..81ff480 100644
--- a/ksim/ksim.h
+++ b/ksim/ksim.h
@@ -23,7 +23,7 @@
#include <kpanelextension.h>
-class QBoxLayout;
+class TQBoxLayout;
class KAboutData;
class KInstance;
class DCOPClient;
diff --git a/ksim/ksimpref.h b/ksim/ksimpref.h
index e7afc13..ef3f9a3 100644
--- a/ksim/ksimpref.h
+++ b/ksim/ksimpref.h
@@ -23,7 +23,7 @@
#include <kdialogbase.h>
#include <kdelibs_export.h>
-class QFrame;
+class TQFrame;
class KDesktopFile;
namespace KSim
{
diff --git a/ksim/ksimsysinfo.h b/ksim/ksimsysinfo.h
index 1bf245f..b4f8609 100644
--- a/ksim/ksimsysinfo.h
+++ b/ksim/ksimsysinfo.h
@@ -23,8 +23,8 @@
#include <tqwidget.h>
#include <dcopobject.h>
-class QTimer;
-class QVBoxLayout;
+class TQTimer;
+class TQVBoxLayout;
namespace KSim
{
class Config;
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp
index 18f29e9..64f4462 100644
--- a/ksim/ksimview.cpp
+++ b/ksim/ksimview.cpp
@@ -95,7 +95,7 @@ KSim::MainView::MainView(KConfig *config,
m_topFrame = new KSim::Frame(KSim::Types::TopFrame, this);
m_subLayout->addWidget(m_topFrame);
- m_sizeLayout = new QHBoxLayout;
+ m_sizeLayout = new TQHBoxLayout;
m_subLayout->addLayout(m_sizeLayout);
m_leftFrame = new KSim::Frame(KSim::Types::LeftFrame, this);
@@ -104,7 +104,7 @@ KSim::MainView::MainView(KConfig *config,
m_pluginLayout = new TQBoxLayout(TQBoxLayout::TopToBottom);
m_sizeLayout->addLayout(m_pluginLayout);
- TQVBoxLayout *vb = new QVBoxLayout;
+ TQVBoxLayout *vb = new TQVBoxLayout;
TQSpacerItem *item = new TQSpacerItem(0, 0, TQSizePolicy::Expanding, TQSizePolicy::Expanding);
vb->addItem(item);
@@ -126,7 +126,7 @@ KSim::MainView::MainView(KConfig *config,
m_hostLabel->setText(host);
}
- vb = new QVBoxLayout;
+ vb = new TQVBoxLayout;
item = new TQSpacerItem(0, 0, TQSizePolicy::Expanding, TQSizePolicy::Expanding);
vb->addItem(item);
m_sysinfo = new KSim::Sysinfo(m_config, this);
diff --git a/ksim/ksimview.h b/ksim/ksimview.h
index 22f0e09..c8f0a95 100644
--- a/ksim/ksimview.h
+++ b/ksim/ksimview.h
@@ -28,10 +28,10 @@
#include <kpanelextension.h>
#include <kdelibs_export.h>
-class QBoxLayout;
-class QHBoxLayout;
-class QVBoxLayout;
-class QPopupMenu;
+class TQBoxLayout;
+class TQHBoxLayout;
+class TQVBoxLayout;
+class TQPopupMenu;
class KDesktopFile;
class KConfig;
diff --git a/ksim/library/chart.cpp b/ksim/library/chart.cpp
index 5128cdb..12ff945 100644
--- a/ksim/library/chart.cpp
+++ b/ksim/library/chart.cpp
@@ -44,7 +44,7 @@ class KSim::Chart::Timer
static void syncChart(KSim::Chart *chart)
{
if (!m_timer) {
- m_timer = new QTimer;
+ m_timer = new TQTimer;
m_timer->start(1000);
qAddPostRoutine(cleanup);
}
diff --git a/ksim/library/chart.h b/ksim/library/chart.h
index 0053ae3..b51ab83 100644
--- a/ksim/library/chart.h
+++ b/ksim/library/chart.h
@@ -25,7 +25,7 @@
#include <kdemacros.h>
-class QColor;
+class TQColor;
namespace KSim
{
diff --git a/ksim/library/pluginmodule.h b/ksim/library/pluginmodule.h
index 753030f..801f10c 100644
--- a/ksim/library/pluginmodule.h
+++ b/ksim/library/pluginmodule.h
@@ -24,7 +24,7 @@
#include <kdemacros.h>
-class QPopupMenu;
+class TQPopupMenu;
class KConfig;
#define KSIM_INIT_PLUGIN(className) \
diff --git a/ksim/library/themeloader.h b/ksim/library/themeloader.h
index 28a38e6..9206583 100644
--- a/ksim/library/themeloader.h
+++ b/ksim/library/themeloader.h
@@ -28,10 +28,10 @@
#include <kdemacros.h>
-class QStringList;
-template<class> class QValueVector;
+class TQStringList;
+template<class> class TQValueVector;
class KConfig;
-class QWidget;
+class TQWidget;
namespace KSim
{
diff --git a/ksim/monitors/cpu/ksimcpu.cpp b/ksim/monitors/cpu/ksimcpu.cpp
index 441c1de..057edd5 100644
--- a/ksim/monitors/cpu/ksimcpu.cpp
+++ b/ksim/monitors/cpu/ksimcpu.cpp
@@ -377,7 +377,7 @@ CpuConfig::CpuConfig(KSim::PluginObject *parent, const char *name)
mainLayout->addWidget( m_listView );
- TQHBoxLayout * layout = new QHBoxLayout;
+ TQHBoxLayout * layout = new TQHBoxLayout;
layout->setSpacing( 6 );
TQSpacerItem * spacer = new TQSpacerItem( 20, 20,
diff --git a/ksim/monitors/cpu/ksimcpu.h b/ksim/monitors/cpu/ksimcpu.h
index 03914b7..8844225 100644
--- a/ksim/monitors/cpu/ksimcpu.h
+++ b/ksim/monitors/cpu/ksimcpu.h
@@ -26,15 +26,15 @@
#include <stdio.h>
-class QPushButton;
-class QTextStream;
-class QVBoxLayout;
-class QHBoxLayout;
-class QCheckBox;
-class QLabel;
-class QGroupBox;
-class QTimer;
-class QListViewItem;
+class TQPushButton;
+class TQTextStream;
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQCheckBox;
+class TQLabel;
+class TQGroupBox;
+class TQTimer;
+class TQListViewItem;
class KListView;
class CpuPlugin : public KSim::PluginObject
diff --git a/ksim/monitors/disk/ksimdisk.cpp b/ksim/monitors/disk/ksimdisk.cpp
index 5be9b80..13f0425 100644
--- a/ksim/monitors/disk/ksimdisk.cpp
+++ b/ksim/monitors/disk/ksimdisk.cpp
@@ -482,7 +482,7 @@ DiskConfig::DiskConfig(KSim::PluginObject *parent, const char *name)
m_listview->addColumn(i18n("Disks"));
m_layout->addWidget(m_listview);
- TQHBoxLayout *layout = new QHBoxLayout;
+ TQHBoxLayout *layout = new TQHBoxLayout;
layout->setSpacing(6);
TQSpacerItem *spacer = new TQSpacerItem(20, 20,
diff --git a/ksim/monitors/disk/ksimdisk.h b/ksim/monitors/disk/ksimdisk.h
index e336448..3d3679a 100644
--- a/ksim/monitors/disk/ksimdisk.h
+++ b/ksim/monitors/disk/ksimdisk.h
@@ -27,13 +27,13 @@
#include <tqstringlist.h>
#include <tqvaluevector.h>
-class QTextStream;
-class QTimer;
+class TQTextStream;
+class TQTimer;
class KListView;
-class QVBoxLayout;
-class QVButtonGroup;
-class QRadioButton;
-class QPushButton;
+class TQVBoxLayout;
+class TQVButtonGroup;
+class TQRadioButton;
+class TQPushButton;
namespace KSim
{
class Chart;
diff --git a/ksim/monitors/filesystem/filesystemwidget.h b/ksim/monitors/filesystem/filesystemwidget.h
index 143010a..16e1190 100644
--- a/ksim/monitors/filesystem/filesystemwidget.h
+++ b/ksim/monitors/filesystem/filesystemwidget.h
@@ -25,7 +25,7 @@
#include <tqptrlist.h>
class KProcess;
-class QVBoxLayout;
+class TQVBoxLayout;
class FilesystemWidget : public QWidget
{
diff --git a/ksim/monitors/filesystem/fsystemconfig.h b/ksim/monitors/filesystem/fsystemconfig.h
index 7e17e79..283a501 100644
--- a/ksim/monitors/filesystem/fsystemconfig.h
+++ b/ksim/monitors/filesystem/fsystemconfig.h
@@ -25,10 +25,10 @@
class KIntSpinBox;
class KListView;
-class QGridLayout;
-class QCheckBox;
-class QLabel;
-class QListBoxItem;
+class TQGridLayout;
+class TQCheckBox;
+class TQLabel;
+class TQListBoxItem;
class FsystemConfig : public KSim::PluginPage
{
diff --git a/ksim/monitors/filesystem/ksimfsystem.h b/ksim/monitors/filesystem/ksimfsystem.h
index 8c95fde..d945820 100644
--- a/ksim/monitors/filesystem/ksimfsystem.h
+++ b/ksim/monitors/filesystem/ksimfsystem.h
@@ -25,7 +25,7 @@
class KPopupMenu;
class FilesystemWidget;
-class QTimer;
+class TQTimer;
/**
* This class is the filesystem monitor plugin
diff --git a/ksim/monitors/i8k/ksimi8k.h b/ksim/monitors/i8k/ksimi8k.h
index 40058da..4258ba6 100644
--- a/ksim/monitors/i8k/ksimi8k.h
+++ b/ksim/monitors/i8k/ksimi8k.h
@@ -24,10 +24,10 @@
#include <pluginmodule.h>
-class QTimer;
-class QTextIStream;
-class QRegExp;
-class QCheckBox;
+class TQTimer;
+class TQTextIStream;
+class TQRegExp;
+class TQCheckBox;
class KIntNumInput;
namespace KSim
diff --git a/ksim/monitors/lm_sensors/sensorbase.h b/ksim/monitors/lm_sensors/sensorbase.h
index 083cfd8..1c2d99c 100644
--- a/ksim/monitors/lm_sensors/sensorbase.h
+++ b/ksim/monitors/lm_sensors/sensorbase.h
@@ -24,7 +24,7 @@
#include <tqvaluelist.h>
#include <tqcstring.h>
-class QTimer;
+class TQTimer;
class KLibrary;
class SensorInfo
diff --git a/ksim/monitors/lm_sensors/sensorsconfig.h b/ksim/monitors/lm_sensors/sensorsconfig.h
index 60410f4..80ed701 100644
--- a/ksim/monitors/lm_sensors/sensorsconfig.h
+++ b/ksim/monitors/lm_sensors/sensorsconfig.h
@@ -22,16 +22,16 @@
#include <pluginmodule.h>
-class QPushButton;
-class QCheckListItem;
-class QGridLayout;
-class QLabel;
+class TQPushButton;
+class TQCheckListItem;
+class TQGridLayout;
+class TQLabel;
class KListView;
-class QListViewItem;
-class QPopupMenu;
+class TQListViewItem;
+class TQPopupMenu;
class KIntSpinBox;
-class QCheckBox;
-class QTimer;
+class TQCheckBox;
+class TQTimer;
class SensorsConfig : public KSim::PluginPage
{
diff --git a/ksim/monitors/net/ksimnet.h b/ksim/monitors/net/ksimnet.h
index 007a1a8..e8a0fbc 100644
--- a/ksim/monitors/net/ksimnet.h
+++ b/ksim/monitors/net/ksimnet.h
@@ -24,9 +24,9 @@
#include "netdevices.h"
#include <stdio.h>
-class QTimer;
-class QVBoxLayout;
-class QTextStream;
+class TQTimer;
+class TQVBoxLayout;
+class TQTextStream;
class NetPlugin : public KSim::PluginObject
{
diff --git a/ksim/monitors/net/netconfig.cpp b/ksim/monitors/net/netconfig.cpp
index 178ac90..cd86824 100644
--- a/ksim/monitors/net/netconfig.cpp
+++ b/ksim/monitors/net/netconfig.cpp
@@ -56,7 +56,7 @@ NetConfig::NetConfig(KSim::PluginObject *parent, const char *name)
TQT_SLOT(modifyItem(TQListViewItem *)));
mainLayout->addWidget(usingBox);
- layout = new QHBoxLayout;
+ layout = new TQHBoxLayout;
layout->setSpacing(6);
TQSpacerItem *spacer = new TQSpacerItem(20, 20,
diff --git a/ksim/monitors/net/netconfig.h b/ksim/monitors/net/netconfig.h
index d8c7889..d83c20f 100644
--- a/ksim/monitors/net/netconfig.h
+++ b/ksim/monitors/net/netconfig.h
@@ -24,11 +24,11 @@
#include "netdevices.h"
class NetDialog;
-class QPopupMenu;
-class QPushButton;
+class TQPopupMenu;
+class TQPushButton;
class KListView;
-class QHBoxLayout;
-class QListViewItem;
+class TQHBoxLayout;
+class TQListViewItem;
class NetConfig : public KSim::PluginPage
{
diff --git a/ksim/monitors/net/netdialog.h b/ksim/monitors/net/netdialog.h
index 662e727..3f57b69 100644
--- a/ksim/monitors/net/netdialog.h
+++ b/ksim/monitors/net/netdialog.h
@@ -22,12 +22,12 @@
#include <tqtabdialog.h>
-class QVBoxLayout;
-class QGridLayout;
-class QCheckBox;
-class QGroupBox;
-class QLabel;
-class QWidget;
+class TQVBoxLayout;
+class TQGridLayout;
+class TQCheckBox;
+class TQGroupBox;
+class TQLabel;
+class TQWidget;
class KComboBox;
class KLineEdit;
class KURLRequester;
diff --git a/ksim/monitors/snmp/view.h b/ksim/monitors/snmp/view.h
index 3793d30..01e29e3 100644
--- a/ksim/monitors/snmp/view.h
+++ b/ksim/monitors/snmp/view.h
@@ -22,7 +22,7 @@
#include <pluginmodule.h>
-class QBoxLayout;
+class TQBoxLayout;
namespace KSim
{
diff --git a/ksim/themeprefs.h b/ksim/themeprefs.h
index a0a4f2b..9c1ff51 100644
--- a/ksim/themeprefs.h
+++ b/ksim/themeprefs.h
@@ -23,9 +23,9 @@
#include <kurl.h>
#include <tqwidget.h>
-class QListViewItem;
-class QGridLayout;
-class QLabel;
+class TQListViewItem;
+class TQGridLayout;
+class TQLabel;
class KListView;
class KURLLabel;
class KComboBox;