summaryrefslogtreecommitdiffstats
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/blockingkprocess.cpp26
-rw-r--r--lib/util/configwidgetproxy.cpp12
-rw-r--r--lib/util/configwidgetproxy.h8
-rw-r--r--lib/util/execcommand.cpp16
-rw-r--r--lib/util/kdevjobtimer.cpp4
-rw-r--r--lib/util/kdevshellwidget.cpp8
-rw-r--r--lib/util/tdescriptactionmanager.cpp26
7 files changed, 50 insertions, 50 deletions
diff --git a/lib/util/blockingkprocess.cpp b/lib/util/blockingkprocess.cpp
index a937c744..0c2b0650 100644
--- a/lib/util/blockingkprocess.cpp
+++ b/lib/util/blockingkprocess.cpp
@@ -22,12 +22,12 @@ BlockingTDEProcess::BlockingTDEProcess(TQObject *parent, const char *name)
m_timeoutValue = 60;
m_timer = 0L;
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(slotProcessExited(TDEProcess *)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess *)));
}
BlockingTDEProcess::BlockingTDEProcess()
@@ -37,12 +37,12 @@ BlockingTDEProcess::BlockingTDEProcess()
m_stdErr = "";
m_timeoutValue = 60;
m_timer = 0L;
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(slotProcessExited(TDEProcess *)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdOut(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotReceivedStdErr(TDEProcess *, char *, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess *)));
}
@@ -55,7 +55,7 @@ bool BlockingTDEProcess::start(RunMode runmode, Communication comm)
{
m_timeout = false;
m_timer = new TQTimer();
- connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeOut()));
+ connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeOut()));
m_timer->start(m_timeoutValue*1000, true);
enter_loop();
delete m_timer;
diff --git a/lib/util/configwidgetproxy.cpp b/lib/util/configwidgetproxy.cpp
index 3335ce9f..16f578f0 100644
--- a/lib/util/configwidgetproxy.cpp
+++ b/lib/util/configwidgetproxy.cpp
@@ -34,8 +34,8 @@
ConfigWidgetProxy::ConfigWidgetProxy( KDevCore * core )
{
- connect( core, TQT_SIGNAL(configWidget(KDialogBase*)), this, TQT_SLOT(slotConfigWidget( KDialogBase*)) );
- connect( core, TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(slotProjectConfigWidget( KDialogBase*)) );
+ connect( core, TQ_SIGNAL(configWidget(KDialogBase*)), this, TQ_SLOT(slotConfigWidget( KDialogBase*)) );
+ connect( core, TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(slotProjectConfigWidget( KDialogBase*)) );
}
ConfigWidgetProxy::~ConfigWidgetProxy()
@@ -66,8 +66,8 @@ void ConfigWidgetProxy::slotConfigWidget( KDialogBase * dlg )
++it;
}
- connect( dlg, TQT_SIGNAL(aboutToShowPage(TQWidget*)), this, TQT_SLOT( slotAboutToShowPage(TQWidget*)) );
- connect( dlg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotConfigWidgetDestroyed()) );
+ connect( dlg, TQ_SIGNAL(aboutToShowPage(TQWidget*)), this, TQ_SLOT( slotAboutToShowPage(TQWidget*)) );
+ connect( dlg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotConfigWidgetDestroyed()) );
}
void ConfigWidgetProxy::slotProjectConfigWidget( KDialogBase * dlg )
@@ -79,8 +79,8 @@ void ConfigWidgetProxy::slotProjectConfigWidget( KDialogBase * dlg )
++it;
}
- connect( dlg, TQT_SIGNAL(aboutToShowPage(TQWidget*)), this, TQT_SLOT( slotAboutToShowPage(TQWidget*)) );
- connect( dlg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotConfigWidgetDestroyed()) );
+ connect( dlg, TQ_SIGNAL(aboutToShowPage(TQWidget*)), this, TQ_SLOT( slotAboutToShowPage(TQWidget*)) );
+ connect( dlg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotConfigWidgetDestroyed()) );
}
void ConfigWidgetProxy::slotConfigWidgetDestroyed( )
diff --git a/lib/util/configwidgetproxy.h b/lib/util/configwidgetproxy.h
index 34cadce9..ee9a3fb0 100644
--- a/lib/util/configwidgetproxy.h
+++ b/lib/util/configwidgetproxy.h
@@ -47,8 +47,8 @@ A typical case looks like this:
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createGlobalConfigPage( i18n("My Part"), GLOBALDOC_OPTIONS, info()->icon() );
_configProxy->createProjectConfigPage( i18n("My Part"), PROJECTDOC_OPTIONS, info()->icon() );
-connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const TQObject*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const TQObject*, TQWidget*, unsigned int )) );
+connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const TQObject*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const TQObject*, TQWidget*, unsigned int )) );
...
...
@@ -57,10 +57,10 @@ void MyPart::insertConfigWidget( TQObject const * dlg, TQWidget * page, unsigned
{
if ( pagenumber == PROJECTDOC_OPTIONS ) {
MyPartGlobalSettings * w = new MyPartGlobalSettings( this, page );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotAccept()) );
} else if ( pagenumber == PROJECTDOC_OPTIONS ) {
MyPartProjectSettings * w = new MyPartProjectSettings( this, page );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotAccept()) );
}
}
@endcode
diff --git a/lib/util/execcommand.cpp b/lib/util/execcommand.cpp
index 0e617762..6fb0f40c 100644
--- a/lib/util/execcommand.cpp
+++ b/lib/util/execcommand.cpp
@@ -39,12 +39,12 @@ ExecCommand::ExecCommand( const TQString& executable, const TQStringList& args,
*proc << executable;
*proc << args;
- connect( proc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(processExited()) );
- connect( proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- this, TQT_SLOT(receivedStdout(TDEProcess*,char*,int)) );
- connect( proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
- this, TQT_SLOT(receivedStderr(TDEProcess*,char*,int)) );
+ connect( proc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(processExited()) );
+ connect( proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ this, TQ_SLOT(receivedStdout(TDEProcess*,char*,int)) );
+ connect( proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
+ this, TQ_SLOT(receivedStderr(TDEProcess*,char*,int)) );
bool ok = proc->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
@@ -58,8 +58,8 @@ ExecCommand::ExecCommand( const TQString& executable, const TQStringList& args,
} else {
progressDlg = new KProgressDialog( 0, 0, i18n("Command running..."),
i18n("Please wait until the \"%1\" command finishes.").arg( executable ), false );
- connect( progressDlg, TQT_SIGNAL(cancelClicked()),
- this, TQT_SLOT(cancelClicked()) );
+ connect( progressDlg, TQ_SIGNAL(cancelClicked()),
+ this, TQ_SLOT(cancelClicked()) );
}
}
diff --git a/lib/util/kdevjobtimer.cpp b/lib/util/kdevjobtimer.cpp
index b0b78250..db095e55 100644
--- a/lib/util/kdevjobtimer.cpp
+++ b/lib/util/kdevjobtimer.cpp
@@ -15,7 +15,7 @@ KDevJobTimer::KDevJobTimer( void * payload, TQObject *parent, const char *name)
: TQTimer(parent, name)
{
m_payload = payload;
- connect( this, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout()) );
+ connect( this, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout()) );
}
KDevJobTimer::~KDevJobTimer()
@@ -26,7 +26,7 @@ void KDevJobTimer::singleShot(int msec, TQObject * receiver, const char * member
{
KDevJobTimer * p = new KDevJobTimer( payload );
p->start( msec, true );
- connect( p, TQT_SIGNAL(timeout(void*)), receiver, member );
+ connect( p, TQ_SIGNAL(timeout(void*)), receiver, member );
}
void KDevJobTimer::slotTimeout()
diff --git a/lib/util/kdevshellwidget.cpp b/lib/util/kdevshellwidget.cpp
index 14982373..1db1b7e1 100644
--- a/lib/util/kdevshellwidget.cpp
+++ b/lib/util/kdevshellwidget.cpp
@@ -44,9 +44,9 @@ void KDevShellWidget::activate( )
m_konsolePart = (KParts::ReadOnlyPart *) factory->create( this, "libkonsolepart", "KParts::ReadOnlyPart" );
if ( !m_konsolePart ) return;
- connect( m_konsolePart, TQT_SIGNAL( processExited(TDEProcess *) ), this, TQT_SLOT( processExited(TDEProcess *) ) );
- connect( m_konsolePart, TQT_SIGNAL( receivedData( const TQString& ) ), this, TQT_SIGNAL( receivedData( const TQString& ) ) );
- connect( m_konsolePart, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()) );
+ connect( m_konsolePart, TQ_SIGNAL( processExited(TDEProcess *) ), this, TQ_SLOT( processExited(TDEProcess *) ) );
+ connect( m_konsolePart, TQ_SIGNAL( receivedData( const TQString& ) ), this, TQ_SIGNAL( receivedData( const TQString& ) ) );
+ connect( m_konsolePart, TQ_SIGNAL(destroyed()), this, TQ_SLOT(partDestroyed()) );
m_konsolePart->widget()->setFocusPolicy( TQWidget::WheelFocus );
setFocusProxy( m_konsolePart->widget() );
@@ -109,7 +109,7 @@ void KDevShellWidget::setAutoReactivateOnClose( bool doAutoActivate )
// reactivating with a non-working setting (the partDestroyed()
// slot will have ran before m_doAutoActivate is set)
if ( doAutoActivate )
- TQTimer::singleShot( 3000, this, TQT_SLOT(setAutoReactivateOnCloseDelayed()) );
+ TQTimer::singleShot( 3000, this, TQ_SLOT(setAutoReactivateOnCloseDelayed()) );
else
m_doAutoActivate = false;
}
diff --git a/lib/util/tdescriptactionmanager.cpp b/lib/util/tdescriptactionmanager.cpp
index c4b44894..de10a9e0 100644
--- a/lib/util/tdescriptactionmanager.cpp
+++ b/lib/util/tdescriptactionmanager.cpp
@@ -52,7 +52,7 @@ KScriptAction::KScriptAction( const TQString &scriptDesktopFile, TQObject *inter
TDETrader::OfferList offers = TDETrader::self()->query( "KScriptRunner/KScriptRunner", scriptTypeQuery );
if ( !offers.isEmpty() )
{
- m_action = new TDEAction(m_scriptName, TDEShortcut(), this, TQT_SLOT(activate()), ac, "script");
+ m_action = new TDEAction(m_scriptName, TDEShortcut(), this, TQ_SLOT(activate()), ac, "script");
m_isValid = true;
m_timeout = new TQTimer(this);
TQString icon = desktop.readIcon();
@@ -60,7 +60,7 @@ KScriptAction::KScriptAction( const TQString &scriptDesktopFile, TQObject *inter
if( !icon.isEmpty() )
m_action->setIcon(icon);
m_action->setShortcutConfigurable(true);
- connect( m_timeout, TQT_SIGNAL(timeout()), TQT_SLOT(cleanup()) );
+ connect( m_timeout, TQ_SIGNAL(timeout()), TQ_SLOT(cleanup()) );
}
}
}
@@ -91,7 +91,7 @@ void KScriptAction::activate( )
m_interface->setScript(m_scriptFile);
else
m_interface->setScript(m_scriptFile, m_scriptMethod);
- connect(this, TQT_SIGNAL(done(KScriptClientInterface::Result, const TQVariant &)), this, TQT_SLOT(scriptFinished()));
+ connect(this, TQ_SIGNAL(done(KScriptClientInterface::Result, const TQVariant &)), this, TQ_SLOT(scriptFinished()));
}
else
{
@@ -152,16 +152,16 @@ TQPtrList< TDEAction > KScriptActionManager::scripts( TQObject * interface , con
{
actions.append(script->action());
m_actions.append(script);
- connect(script, TQT_SIGNAL(error( const TQString&)), this,
- TQT_SIGNAL(scriptError( const TQString&)));
- connect(script, TQT_SIGNAL(warning( const TQString&)), this,
- TQT_SIGNAL(scriptWarning( const TQString&)));
- connect(script, TQT_SIGNAL(output( const TQString&)), this,
- TQT_SIGNAL(scriptOutput( const TQString&)));
- connect(script, TQT_SIGNAL(progress( int )), this,
- TQT_SIGNAL(scriptProgress(int)));
- connect(script, TQT_SIGNAL(done( KScriptClientInterface::Result, const TQVariant &)),this,
- TQT_SIGNAL(scriptDone( KScriptClientInterface::Result, const TQVariant &)));
+ connect(script, TQ_SIGNAL(error( const TQString&)), this,
+ TQ_SIGNAL(scriptError( const TQString&)));
+ connect(script, TQ_SIGNAL(warning( const TQString&)), this,
+ TQ_SIGNAL(scriptWarning( const TQString&)));
+ connect(script, TQ_SIGNAL(output( const TQString&)), this,
+ TQ_SIGNAL(scriptOutput( const TQString&)));
+ connect(script, TQ_SIGNAL(progress( int )), this,
+ TQ_SIGNAL(scriptProgress(int)));
+ connect(script, TQ_SIGNAL(done( KScriptClientInterface::Result, const TQVariant &)),this,
+ TQ_SIGNAL(scriptDone( KScriptClientInterface::Result, const TQVariant &)));
}
else
delete script;