summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/ksgrd
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 10:51:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-16 10:04:33 +0900
commit1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch)
treef9309bc873f0f7838ee21373c32d5fd388da79d9 /ksysguard/gui/ksgrd
parent55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff)
downloadtdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz
tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'ksysguard/gui/ksgrd')
-rw-r--r--ksysguard/gui/ksgrd/HostConnector.cpp12
-rw-r--r--ksysguard/gui/ksgrd/SensorManager.cpp4
-rw-r--r--ksysguard/gui/ksgrd/SensorShellAgent.cpp16
-rw-r--r--ksysguard/gui/ksgrd/SensorSocketAgent.cpp8
-rw-r--r--ksysguard/gui/ksgrd/StyleEngine.cpp4
-rw-r--r--ksysguard/gui/ksgrd/StyleSettings.cpp12
-rw-r--r--ksysguard/gui/ksgrd/TimerSettings.cpp4
7 files changed, 30 insertions, 30 deletions
diff --git a/ksysguard/gui/ksgrd/HostConnector.cpp b/ksysguard/gui/ksgrd/HostConnector.cpp
index da3974ce9..9ff979965 100644
--- a/ksysguard/gui/ksgrd/HostConnector.cpp
+++ b/ksysguard/gui/ksgrd/HostConnector.cpp
@@ -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/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/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/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/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/StyleSettings.cpp b/ksysguard/gui/ksgrd/StyleSettings.cpp
index 71a18b713..f70a387b4 100644
--- a/ksysguard/gui/ksgrd/StyleSettings.cpp
+++ b/ksysguard/gui/ksgrd/StyleSettings.cpp
@@ -92,12 +92,12 @@ StyleSettings::StyleSettings( TQWidget *parent, const char *name )
mEditColorButton->setEnabled( false );
layout->addWidget( mEditColorButton, 0, 1, TQt::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() ) );
+ 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/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 );