summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/ksgrd
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/ksgrd')
-rw-r--r--ksysguard/gui/ksgrd/HostConnector.cpp16
-rw-r--r--ksysguard/gui/ksgrd/HostConnector.h2
-rw-r--r--ksysguard/gui/ksgrd/SensorAgent.h4
-rw-r--r--ksysguard/gui/ksgrd/SensorManager.cpp4
-rw-r--r--ksysguard/gui/ksgrd/SensorManager.h8
-rw-r--r--ksysguard/gui/ksgrd/SensorShellAgent.cpp16
-rw-r--r--ksysguard/gui/ksgrd/SensorShellAgent.h2
-rw-r--r--ksysguard/gui/ksgrd/SensorSocketAgent.cpp8
-rw-r--r--ksysguard/gui/ksgrd/SensorSocketAgent.h2
-rw-r--r--ksysguard/gui/ksgrd/StyleEngine.cpp4
-rw-r--r--ksysguard/gui/ksgrd/StyleEngine.h6
-rw-r--r--ksysguard/gui/ksgrd/StyleSettings.cpp16
-rw-r--r--ksysguard/gui/ksgrd/StyleSettings.h2
-rw-r--r--ksysguard/gui/ksgrd/TimerSettings.cpp4
-rw-r--r--ksysguard/gui/ksgrd/TimerSettings.h4
15 files changed, 49 insertions, 49 deletions
diff --git a/ksysguard/gui/ksgrd/HostConnector.cpp b/ksysguard/gui/ksgrd/HostConnector.cpp
index b6e85b795..9ff979965 100644
--- a/ksysguard/gui/ksgrd/HostConnector.cpp
+++ b/ksysguard/gui/ksgrd/HostConnector.cpp
@@ -57,11 +57,11 @@ HostConnector::HostConnector( TQWidget *parent, const char *name )
mHostNameLabel->hide();
layout->addWidget( mHostNameLabel, 0, 1 );
- TQButtonGroup *group = new TQButtonGroup( 0, Qt::Vertical,
+ TQButtonGroup *group = new TQButtonGroup( 0, TQt::Vertical,
i18n( "Connection Type" ), page );
TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 4, 4,
spacingHint() );
- groupLayout->setAlignment( Qt::AlignTop );
+ groupLayout->setAlignment( TQt::AlignTop );
mUseSsh = new TQRadioButton( i18n( "ssh" ), group );
mUseSsh->setEnabled( true );
@@ -111,12 +111,12 @@ HostConnector::HostConnector( TQWidget *parent, const char *name )
layout->addMultiCellWidget( group, 1, 1, 0, 1 );
- connect( mUseCustom, TQT_SIGNAL( toggled( bool ) ),
- mCommands, TQT_SLOT( setEnabled( bool ) ) );
- connect( mUseDaemon, TQT_SIGNAL( toggled( bool ) ),
- mPort, TQT_SLOT( setEnabled( bool ) ) );
- connect( mHostNames->lineEdit(), TQT_SIGNAL( textChanged ( const TQString & ) ),
- this, TQT_SLOT( slotHostNameChanged( const TQString & ) ) );
+ connect( mUseCustom, TQ_SIGNAL( toggled( bool ) ),
+ mCommands, TQ_SLOT( setEnabled( bool ) ) );
+ connect( mUseDaemon, TQ_SIGNAL( toggled( bool ) ),
+ mPort, TQ_SLOT( setEnabled( bool ) ) );
+ connect( mHostNames->lineEdit(), TQ_SIGNAL( textChanged ( const TQString & ) ),
+ this, TQ_SLOT( slotHostNameChanged( const TQString & ) ) );
enableButtonOK( !mHostNames->lineEdit()->text().isEmpty() );
TDEAcceleratorManager::manage( this );
}
diff --git a/ksysguard/gui/ksgrd/HostConnector.h b/ksysguard/gui/ksgrd/HostConnector.h
index dbf654b7e..c4d873ffe 100644
--- a/ksysguard/gui/ksgrd/HostConnector.h
+++ b/ksysguard/gui/ksgrd/HostConnector.h
@@ -31,7 +31,7 @@ class TQSpinBox;
class HostConnector : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
HostConnector( TQWidget *parent, const char *name = 0 );
diff --git a/ksysguard/gui/ksgrd/SensorAgent.h b/ksysguard/gui/ksgrd/SensorAgent.h
index 36c44095c..b165cf701 100644
--- a/ksysguard/gui/ksgrd/SensorAgent.h
+++ b/ksysguard/gui/ksgrd/SensorAgent.h
@@ -43,9 +43,9 @@ class SensorRequest;
ksysguardd. The current implementation only allowes one pending
requests. Incoming requests are queued in an input FIFO.
*/
-class KDE_EXPORT SensorAgent : public QObject
+class TDE_EXPORT SensorAgent : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
SensorAgent( SensorManager *sm );
diff --git a/ksysguard/gui/ksgrd/SensorManager.cpp b/ksysguard/gui/ksgrd/SensorManager.cpp
index 237e73b23..1412df7d7 100644
--- a/ksysguard/gui/ksgrd/SensorManager.cpp
+++ b/ksysguard/gui/ksgrd/SensorManager.cpp
@@ -219,8 +219,8 @@ bool SensorManager::engage( const TQString &hostName, const TQString &shell,
}
mAgents.insert( hostName, agent );
- connect( agent, TQT_SIGNAL( reconfigure( const SensorAgent* ) ),
- TQT_SLOT( reconfigure( const SensorAgent* ) ) );
+ connect( agent, TQ_SIGNAL( reconfigure( const SensorAgent* ) ),
+ TQ_SLOT( reconfigure( const SensorAgent* ) ) );
emit update();
return true;
diff --git a/ksysguard/gui/ksgrd/SensorManager.h b/ksysguard/gui/ksgrd/SensorManager.h
index 1e859c638..27b24e6de 100644
--- a/ksysguard/gui/ksgrd/SensorManager.h
+++ b/ksysguard/gui/ksgrd/SensorManager.h
@@ -43,9 +43,9 @@ class SensorManagerIterator;
connection yet or the hostname is empty, a dialog will be shown to
enter the connections details.
*/
-class KDE_EXPORT SensorManager : public QObject
+class TDE_EXPORT SensorManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class SensorManagerIterator;
@@ -110,9 +110,9 @@ class KDE_EXPORT SensorManager : public QObject
HostConnector* mHostConnector;
};
-KDE_EXPORT extern SensorManager* SensorMgr;
+TDE_EXPORT extern SensorManager* SensorMgr;
-class KDE_EXPORT SensorManagerIterator : public TQDictIterator<SensorAgent>
+class TDE_EXPORT SensorManagerIterator : public TQDictIterator<SensorAgent>
{
public:
SensorManagerIterator( const SensorManager *sm )
diff --git a/ksysguard/gui/ksgrd/SensorShellAgent.cpp b/ksysguard/gui/ksgrd/SensorShellAgent.cpp
index 7e137ad56..c398be32f 100644
--- a/ksysguard/gui/ksgrd/SensorShellAgent.cpp
+++ b/ksysguard/gui/ksgrd/SensorShellAgent.cpp
@@ -55,14 +55,14 @@ bool SensorShellAgent::start( const TQString &host, const TQString &shell,
mShell = shell;
mCommand = command;
- connect( mDaemon, TQT_SIGNAL( processExited( TDEProcess* ) ),
- TQT_SLOT( daemonExited( TDEProcess* ) ) );
- connect( mDaemon, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
- TQT_SLOT( msgRcvd( TDEProcess*, char*, int ) ) );
- connect( mDaemon, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
- TQT_SLOT( errMsgRcvd( TDEProcess*, char*, int ) ) );
- connect( mDaemon, TQT_SIGNAL( wroteStdin( TDEProcess* ) ),
- TQT_SLOT( msgSent( TDEProcess* ) ) );
+ connect( mDaemon, TQ_SIGNAL( processExited( TDEProcess* ) ),
+ TQ_SLOT( daemonExited( TDEProcess* ) ) );
+ connect( mDaemon, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
+ TQ_SLOT( msgRcvd( TDEProcess*, char*, int ) ) );
+ connect( mDaemon, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
+ TQ_SLOT( errMsgRcvd( TDEProcess*, char*, int ) ) );
+ connect( mDaemon, TQ_SIGNAL( wroteStdin( TDEProcess* ) ),
+ TQ_SLOT( msgSent( TDEProcess* ) ) );
TQString cmd;
if ( !command.isEmpty() )
diff --git a/ksysguard/gui/ksgrd/SensorShellAgent.h b/ksysguard/gui/ksgrd/SensorShellAgent.h
index 2befd346b..eaa932dfc 100644
--- a/ksysguard/gui/ksgrd/SensorShellAgent.h
+++ b/ksysguard/gui/ksgrd/SensorShellAgent.h
@@ -45,7 +45,7 @@ class SensorManager;
*/
class SensorShellAgent : public SensorAgent
{
- Q_OBJECT
+ TQ_OBJECT
public:
SensorShellAgent( SensorManager *sm );
diff --git a/ksysguard/gui/ksgrd/SensorSocketAgent.cpp b/ksysguard/gui/ksgrd/SensorSocketAgent.cpp
index 30c0cc7e9..ed52a5bd4 100644
--- a/ksysguard/gui/ksgrd/SensorSocketAgent.cpp
+++ b/ksysguard/gui/ksgrd/SensorSocketAgent.cpp
@@ -34,10 +34,10 @@ using namespace KSGRD;
SensorSocketAgent::SensorSocketAgent( SensorManager *sm )
: SensorAgent( sm )
{
- connect( &mSocket, TQT_SIGNAL( gotError( int ) ), TQT_SLOT( error( int ) ) );
- connect( &mSocket, TQT_SIGNAL( bytesWritten( int ) ), TQT_SLOT( msgSent( int ) ) );
- connect( &mSocket, TQT_SIGNAL( readyRead() ), TQT_SLOT( msgRcvd() ) );
- connect( &mSocket, TQT_SIGNAL( closed() ), TQT_SLOT( connectionClosed() ) );
+ connect( &mSocket, TQ_SIGNAL( gotError( int ) ), TQ_SLOT( error( int ) ) );
+ connect( &mSocket, TQ_SIGNAL( bytesWritten( int ) ), TQ_SLOT( msgSent( int ) ) );
+ connect( &mSocket, TQ_SIGNAL( readyRead() ), TQ_SLOT( msgRcvd() ) );
+ connect( &mSocket, TQ_SIGNAL( closed() ), TQ_SLOT( connectionClosed() ) );
}
SensorSocketAgent::~SensorSocketAgent()
diff --git a/ksysguard/gui/ksgrd/SensorSocketAgent.h b/ksysguard/gui/ksgrd/SensorSocketAgent.h
index 7b9062f17..f937562ff 100644
--- a/ksysguard/gui/ksgrd/SensorSocketAgent.h
+++ b/ksysguard/gui/ksgrd/SensorSocketAgent.h
@@ -41,7 +41,7 @@ class SensorClient;
*/
class SensorSocketAgent : public SensorAgent
{
- Q_OBJECT
+ TQ_OBJECT
public:
SensorSocketAgent( SensorManager *sm );
diff --git a/ksysguard/gui/ksgrd/StyleEngine.cpp b/ksysguard/gui/ksgrd/StyleEngine.cpp
index ce3e3bd6b..0e7330741 100644
--- a/ksysguard/gui/ksgrd/StyleEngine.cpp
+++ b/ksysguard/gui/ksgrd/StyleEngine.cpp
@@ -143,8 +143,8 @@ void StyleEngine::configure()
mSettingsDialog->setFontSize( mFontSize );
mSettingsDialog->setSensorColors( mSensorColors );
- connect( mSettingsDialog, TQT_SIGNAL( applyClicked() ),
- this, TQT_SLOT( applyToWorksheet() ) );
+ connect( mSettingsDialog, TQ_SIGNAL( applyClicked() ),
+ this, TQ_SLOT( applyToWorksheet() ) );
if ( mSettingsDialog->exec() )
apply();
diff --git a/ksysguard/gui/ksgrd/StyleEngine.h b/ksysguard/gui/ksgrd/StyleEngine.h
index 50ec06e0b..345a91546 100644
--- a/ksysguard/gui/ksgrd/StyleEngine.h
+++ b/ksysguard/gui/ksgrd/StyleEngine.h
@@ -38,9 +38,9 @@ class StyleSettings;
namespace KSGRD {
-class KDE_EXPORT StyleEngine : public QObject
+class TDE_EXPORT StyleEngine : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
StyleEngine();
@@ -79,7 +79,7 @@ class KDE_EXPORT StyleEngine : public QObject
StyleSettings *mSettingsDialog;
};
-KDE_EXPORT extern StyleEngine* Style;
+TDE_EXPORT extern StyleEngine* Style;
}
diff --git a/ksysguard/gui/ksgrd/StyleSettings.cpp b/ksysguard/gui/ksgrd/StyleSettings.cpp
index b84d3e407..f70a387b4 100644
--- a/ksysguard/gui/ksgrd/StyleSettings.cpp
+++ b/ksysguard/gui/ksgrd/StyleSettings.cpp
@@ -90,14 +90,14 @@ StyleSettings::StyleSettings( TQWidget *parent, const char *name )
mEditColorButton = new TQPushButton( i18n( "Change Color..." ), page );
mEditColorButton->setEnabled( false );
- layout->addWidget( mEditColorButton, 0, 1, Qt::AlignTop );
-
- connect( mColorListBox, TQT_SIGNAL( selectionChanged( TQListBoxItem* ) ),
- TQT_SLOT( selectionChanged( TQListBoxItem* ) ) );
- connect( mColorListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem* ) ),
- TQT_SLOT( editSensorColor() ) );
- connect( mEditColorButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( editSensorColor() ) );
+ layout->addWidget( mEditColorButton, 0, 1, TQt::AlignTop );
+
+ connect( mColorListBox, TQ_SIGNAL( selectionChanged( TQListBoxItem* ) ),
+ TQ_SLOT( selectionChanged( TQListBoxItem* ) ) );
+ connect( mColorListBox, TQ_SIGNAL( doubleClicked( TQListBoxItem* ) ),
+ TQ_SLOT( editSensorColor() ) );
+ connect( mEditColorButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( editSensorColor() ) );
TDEAcceleratorManager::manage( this );
}
diff --git a/ksysguard/gui/ksgrd/StyleSettings.h b/ksysguard/gui/ksgrd/StyleSettings.h
index c3b3d362c..5868b9123 100644
--- a/ksysguard/gui/ksgrd/StyleSettings.h
+++ b/ksysguard/gui/ksgrd/StyleSettings.h
@@ -35,7 +35,7 @@ class TQPushButton;
class StyleSettings : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
StyleSettings( TQWidget *parent = 0, const char *name = 0 );
diff --git a/ksysguard/gui/ksgrd/TimerSettings.cpp b/ksysguard/gui/ksgrd/TimerSettings.cpp
index 43e73ab90..4fa165f99 100644
--- a/ksysguard/gui/ksgrd/TimerSettings.cpp
+++ b/ksysguard/gui/ksgrd/TimerSettings.cpp
@@ -53,8 +53,8 @@ TimerSettings::TimerSettings( TQWidget *parent, const char *name )
mLabel->setBuddy( mInterval );
TQWhatsThis::add( mInterval, i18n( "All displays of the sheet are updated at the rate specified here." ) );
- connect( mUseGlobalUpdate, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( globalUpdateChanged( bool ) ) );
+ connect( mUseGlobalUpdate, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( globalUpdateChanged( bool ) ) );
mUseGlobalUpdate->setChecked( true );
diff --git a/ksysguard/gui/ksgrd/TimerSettings.h b/ksysguard/gui/ksgrd/TimerSettings.h
index 64c49959b..79eb331aa 100644
--- a/ksysguard/gui/ksgrd/TimerSettings.h
+++ b/ksysguard/gui/ksgrd/TimerSettings.h
@@ -30,9 +30,9 @@ class TQCheckBox;
class TQLabel;
class TQSpinBox;
-class KDE_EXPORT TimerSettings : public KDialogBase
+class TDE_EXPORT TimerSettings : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
TimerSettings( TQWidget *parent, const char *name = 0 );