summaryrefslogtreecommitdiffstats
path: root/src/languages
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:35:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:21:10 +0900
commit4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d (patch)
tree08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/languages
parenta082a2596013ce2dc791319f70d0371004a406a5 (diff)
downloadktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.tar.gz
ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65)
Diffstat (limited to 'src/languages')
-rw-r--r--src/languages/externallanguage.cpp14
-rw-r--r--src/languages/flowcode.cpp4
-rw-r--r--src/languages/language.cpp2
-rw-r--r--src/languages/languagemanager.cpp2
-rw-r--r--src/languages/processchain.cpp10
5 files changed, 16 insertions, 16 deletions
diff --git a/src/languages/externallanguage.cpp b/src/languages/externallanguage.cpp
index 553e597..36d1476 100644
--- a/src/languages/externallanguage.cpp
+++ b/src/languages/externallanguage.cpp
@@ -37,7 +37,7 @@ void ExternalLanguage::deleteLanguageProcess()
// I'm not too sure if this combination of killing the process is the best way....
// m_languageProcess->tryTerminate();
-// TQTimer::singleShot( 5000, m_languageProcess, TQT_SLOT( kill() ) );
+// TQTimer::singleShot( 5000, m_languageProcess, TQ_SLOT( kill() ) );
// delete m_languageProcess;
m_languageProcess->kill();
m_languageProcess->deleteLater();
@@ -126,14 +126,14 @@ void ExternalLanguage::resetLanguageProcess()
m_languageProcess = new TDEProcess(this);
- connect( m_languageProcess, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
- this, TQT_SLOT(receivedStdout( TDEProcess*, char*, int )) );
+ connect( m_languageProcess, TQ_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
+ this, TQ_SLOT(receivedStdout( TDEProcess*, char*, int )) );
- connect( m_languageProcess, TQT_SIGNAL(receivedStderr( TDEProcess*, char*, int )),
- this, TQT_SLOT(receivedStderr( TDEProcess*, char*, int )) );
+ connect( m_languageProcess, TQ_SIGNAL(receivedStderr( TDEProcess*, char*, int )),
+ this, TQ_SLOT(receivedStderr( TDEProcess*, char*, int )) );
- connect( m_languageProcess, TQT_SIGNAL(processExited( TDEProcess* )),
- this, TQT_SLOT(processExited( TDEProcess* )) );
+ connect( m_languageProcess, TQ_SIGNAL(processExited( TDEProcess* )),
+ this, TQ_SLOT(processExited( TDEProcess* )) );
}
diff --git a/src/languages/flowcode.cpp b/src/languages/flowcode.cpp
index 743fa54..16d8358 100644
--- a/src/languages/flowcode.cpp
+++ b/src/languages/flowcode.cpp
@@ -44,8 +44,8 @@ void FlowCode::processInput( ProcessOptions options )
options.p_flowCodeDocument = new FlowCodeDocument( TQString(), 0l );
options.p_flowCodeDocument->openURL( options.inputFiles().first() );
- connect( this, TQT_SIGNAL(processSucceeded( Language *)), options.p_flowCodeDocument, TQT_SLOT(deleteLater()) );
- connect( this, TQT_SIGNAL(processFailed( Language *)), options.p_flowCodeDocument, TQT_SLOT(deleteLater()) );
+ connect( this, TQ_SIGNAL(processSucceeded( Language *)), options.p_flowCodeDocument, TQ_SLOT(deleteLater()) );
+ connect( this, TQ_SIGNAL(processFailed( Language *)), options.p_flowCodeDocument, TQ_SLOT(deleteLater()) );
}
if ( !options.p_flowCodeDocument->microSettings() )
diff --git a/src/languages/language.cpp b/src/languages/language.cpp
index 2395ecb..5fdaa11 100644
--- a/src/languages/language.cpp
+++ b/src/languages/language.cpp
@@ -208,7 +208,7 @@ ProcessOptions::ProcessOptions( OutputMethodInfo info )
void ProcessOptions::setTextOutputTarget( TextDocument * target, TQObject * receiver, const char * slot )
{
m_pTextOutputTarget = target;
- TQObject::connect( m_pHelper, TQT_SIGNAL(textOutputtedTo( TextDocument* )), receiver, slot );
+ TQObject::connect( m_pHelper, TQ_SIGNAL(textOutputtedTo( TextDocument* )), receiver, slot );
}
diff --git a/src/languages/languagemanager.cpp b/src/languages/languagemanager.cpp
index 47bfaa2..a71ca5a 100644
--- a/src/languages/languagemanager.cpp
+++ b/src/languages/languagemanager.cpp
@@ -52,7 +52,7 @@ LanguageManager::LanguageManager( KateMDI::ToolView * parent, KTechlab * ktl )
m_logView = new LogView( parent, "LanguageManager LogView");
TQWhatsThis::add( m_logView, i18n("These messages show the output of language-related functionality such as compiling and assembling.<br><br>For error messages, clicking on the line will automatically open up the file at the position of the error.") );
- connect( m_logView, TQT_SIGNAL(paraClicked(const TQString&, MessageInfo )), this, TQT_SLOT(slotParaClicked(const TQString&, MessageInfo )) );
+ connect( m_logView, TQ_SIGNAL(paraClicked(const TQString&, MessageInfo )), this, TQ_SLOT(slotParaClicked(const TQString&, MessageInfo )) );
reset();
}
diff --git a/src/languages/processchain.cpp b/src/languages/processchain.cpp
index 83757aa..a0d8e40 100644
--- a/src/languages/processchain.cpp
+++ b/src/languages/processchain.cpp
@@ -57,7 +57,7 @@ ProcessChain::ProcessChain( ProcessOptions options, KTechlab * ktechlab, const c
target = options.targetFile();
LanguageManager::self()->logView()->addOutput( i18n("Building: %1").arg( target ), LogView::ot_important );
- TQTimer::singleShot( 0, this, TQT_SLOT(compile()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(compile()) );
}
@@ -267,8 +267,8 @@ a * ProcessChain::b( ) \
if ( !c ) \
{ \
c = new a( this, m_pKTechlab ); \
- connect( c, TQT_SIGNAL(processSucceeded(Language* )), this, TQT_SLOT(slotFinishedCompile(Language* )) ); \
- connect( c, TQT_SIGNAL(processFailed(Language* )), this, TQT_SIGNAL(failed()) ); \
+ connect( c, TQ_SIGNAL(processSucceeded(Language* )), this, TQ_SLOT(slotFinishedCompile(Language* )) ); \
+ connect( c, TQ_SIGNAL(processFailed(Language* )), this, TQ_SIGNAL(failed()) ); \
} \
return c; \
}
@@ -311,8 +311,8 @@ void ProcessListChain::slotProcessChainSuccessful()
ProcessChain * pc = LanguageManager::self()->compile(po);
- connect( pc, TQT_SIGNAL(successful()), this, TQT_SLOT(slotProcessChainSuccessful()) );
- connect( pc, TQT_SIGNAL(failed()), this, TQT_SLOT(slotProcessChainFailed()) );
+ connect( pc, TQ_SIGNAL(successful()), this, TQ_SLOT(slotProcessChainSuccessful()) );
+ connect( pc, TQ_SIGNAL(failed()), this, TQ_SLOT(slotProcessChainFailed()) );
}