summaryrefslogtreecommitdiffstats
path: root/src/languages
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite47aaa9b34ffc363d268aca989aab28fdfaf9821 (patch)
tree369b56d21949c574d30f71bdf24bf1e04f5e1877 /src/languages
parente05894553004a47b1e2f276bedcf5963b57a3932 (diff)
downloadktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.tar.gz
ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/languages')
-rw-r--r--src/languages/externallanguage.cpp4
-rw-r--r--src/languages/externallanguage.h2
-rw-r--r--src/languages/flowcode.cpp4
-rw-r--r--src/languages/flowcode.h2
-rw-r--r--src/languages/gpasm.cpp4
-rw-r--r--src/languages/gpasm.h2
-rw-r--r--src/languages/gpdasm.cpp4
-rw-r--r--src/languages/gpdasm.h2
-rw-r--r--src/languages/gplib.cpp4
-rw-r--r--src/languages/gplib.h2
-rw-r--r--src/languages/gplink.cpp4
-rw-r--r--src/languages/gplink.h2
-rw-r--r--src/languages/language.cpp6
-rw-r--r--src/languages/language.h2
-rw-r--r--src/languages/languagemanager.cpp10
-rw-r--r--src/languages/languagemanager.h4
-rw-r--r--src/languages/microbe.cpp4
-rw-r--r--src/languages/microbe.h2
-rw-r--r--src/languages/picprogrammer.cpp4
-rw-r--r--src/languages/picprogrammer.h2
-rw-r--r--src/languages/processchain.cpp6
-rw-r--r--src/languages/processchain.h4
-rw-r--r--src/languages/sdcc.cpp4
-rw-r--r--src/languages/sdcc.h2
24 files changed, 43 insertions, 43 deletions
diff --git a/src/languages/externallanguage.cpp b/src/languages/externallanguage.cpp
index 784bf0f..82e35aa 100644
--- a/src/languages/externallanguage.cpp
+++ b/src/languages/externallanguage.cpp
@@ -17,8 +17,8 @@
#include <tqregexp.h>
#include <tqtimer.h>
-ExternalLanguage::ExternalLanguage( ProcessChain *processChain, KTechlab *tqparent, const TQString &name )
- : Language( processChain, tqparent, name )
+ExternalLanguage::ExternalLanguage( ProcessChain *processChain, KTechlab *parent, const TQString &name )
+ : Language( processChain, parent, name )
{
m_languageProcess = 0l;
}
diff --git a/src/languages/externallanguage.h b/src/languages/externallanguage.h
index 51a34f6..4bf06ce 100644
--- a/src/languages/externallanguage.h
+++ b/src/languages/externallanguage.h
@@ -27,7 +27,7 @@ class ExternalLanguage : public Language
Q_OBJECT
TQ_OBJECT
public:
- ExternalLanguage( ProcessChain *processChain, KTechlab *tqparent, const TQString &name );
+ ExternalLanguage( ProcessChain *processChain, KTechlab *parent, const TQString &name );
~ExternalLanguage();
protected slots:
diff --git a/src/languages/flowcode.cpp b/src/languages/flowcode.cpp
index a1c664d..5356eab 100644
--- a/src/languages/flowcode.cpp
+++ b/src/languages/flowcode.cpp
@@ -22,8 +22,8 @@
// #include <kmessagebox.h>
#include <tqfile.h>
-FlowCode::FlowCode( ProcessChain *processChain, KTechlab *tqparent )
- : Language( processChain, tqparent, i18n("FlowCode") )
+FlowCode::FlowCode( ProcessChain *processChain, KTechlab *parent )
+ : Language( processChain, parent, i18n("FlowCode") )
{
m_successfulMessage = i18n("*** Microbe generation successful ***");
m_failedMessage = i18n("*** Microbe generation failed ***");
diff --git a/src/languages/flowcode.h b/src/languages/flowcode.h
index 77fa5c1..ab6813e 100644
--- a/src/languages/flowcode.h
+++ b/src/languages/flowcode.h
@@ -39,7 +39,7 @@ basic from the code that they create. The 3 simple steps for usage of this funct
class FlowCode : public Language
{
public:
- FlowCode( ProcessChain *processChain, KTechlab *tqparent );
+ FlowCode( ProcessChain *processChain, KTechlab *parent );
virtual void processInput( ProcessOptions options );
virtual ProcessOptions::ProcessPath::Path outputPath( ProcessOptions::ProcessPath::Path inputPath ) const;
diff --git a/src/languages/gpasm.cpp b/src/languages/gpasm.cpp
index 4020b60..1da7355 100644
--- a/src/languages/gpasm.cpp
+++ b/src/languages/gpasm.cpp
@@ -20,8 +20,8 @@
#include <kprocess.h>
#include <tqregexp.h>
-Gpasm::Gpasm( ProcessChain *processChain, KTechlab * tqparent )
- : ExternalLanguage( processChain, tqparent, "Gpasm" )
+Gpasm::Gpasm( ProcessChain *processChain, KTechlab * parent )
+ : ExternalLanguage( processChain, parent, "Gpasm" )
{
m_successfulMessage = i18n("*** Assembly successful ***");
m_failedMessage = i18n("*** Assembly failed ***");
diff --git a/src/languages/gpasm.h b/src/languages/gpasm.h
index f071b8d..bdebaa4 100644
--- a/src/languages/gpasm.h
+++ b/src/languages/gpasm.h
@@ -20,7 +20,7 @@
class Gpasm : public ExternalLanguage
{
public:
- Gpasm( ProcessChain *processChain, KTechlab *tqparent );
+ Gpasm( ProcessChain *processChain, KTechlab *parent );
~Gpasm();
virtual void processInput( ProcessOptions options );
diff --git a/src/languages/gpdasm.cpp b/src/languages/gpdasm.cpp
index e0a7b9e..0827ba8 100644
--- a/src/languages/gpdasm.cpp
+++ b/src/languages/gpdasm.cpp
@@ -19,8 +19,8 @@
#include <tqfile.h>
#include <tqregexp.h>
-Gpdasm::Gpdasm( ProcessChain *processChain, KTechlab *tqparent )
- : ExternalLanguage( processChain, tqparent, "Gpdasm" )
+Gpdasm::Gpdasm( ProcessChain *processChain, KTechlab *parent )
+ : ExternalLanguage( processChain, parent, "Gpdasm" )
{
m_successfulMessage = i18n("*** Disassembly successful ***");
m_failedMessage = i18n("*** Disassembly failed ***");
diff --git a/src/languages/gpdasm.h b/src/languages/gpdasm.h
index 8fd977c..4b7df32 100644
--- a/src/languages/gpdasm.h
+++ b/src/languages/gpdasm.h
@@ -20,7 +20,7 @@ Interface to the GNU Pic Disassembler
class Gpdasm : public ExternalLanguage
{
public:
- Gpdasm( ProcessChain *processChain, KTechlab *tqparent );
+ Gpdasm( ProcessChain *processChain, KTechlab *parent );
~Gpdasm();
virtual void processInput( ProcessOptions options );
diff --git a/src/languages/gplib.cpp b/src/languages/gplib.cpp
index 919efee..b7d3156 100644
--- a/src/languages/gplib.cpp
+++ b/src/languages/gplib.cpp
@@ -16,8 +16,8 @@
#include <kmessagebox.h>
#include <kprocess.h>
-Gplib::Gplib( ProcessChain *processChain, KTechlab * tqparent )
- : ExternalLanguage( processChain, tqparent, "Gpasm" )
+Gplib::Gplib( ProcessChain *processChain, KTechlab * parent )
+ : ExternalLanguage( processChain, parent, "Gpasm" )
{
m_successfulMessage = i18n("*** Archiving successful ***");
m_failedMessage = i18n("*** Archiving failed ***");
diff --git a/src/languages/gplib.h b/src/languages/gplib.h
index 1d3df03..019dfe1 100644
--- a/src/languages/gplib.h
+++ b/src/languages/gplib.h
@@ -19,7 +19,7 @@
class Gplib : public ExternalLanguage
{
public:
- Gplib( ProcessChain *processChain, KTechlab *tqparent );
+ Gplib( ProcessChain *processChain, KTechlab *parent );
~Gplib();
virtual void processInput( ProcessOptions options );
diff --git a/src/languages/gplink.cpp b/src/languages/gplink.cpp
index 7055fa2..3562a09 100644
--- a/src/languages/gplink.cpp
+++ b/src/languages/gplink.cpp
@@ -16,8 +16,8 @@
#include <kmessagebox.h>
#include <kprocess.h>
-Gplink::Gplink( ProcessChain *processChain, KTechlab * tqparent )
- : ExternalLanguage( processChain, tqparent, "Gpasm" )
+Gplink::Gplink( ProcessChain *processChain, KTechlab * parent )
+ : ExternalLanguage( processChain, parent, "Gpasm" )
{
m_successfulMessage = i18n("*** Linking successful ***");
m_failedMessage = i18n("*** Linking failed ***");
diff --git a/src/languages/gplink.h b/src/languages/gplink.h
index 47cb1c9..7015e58 100644
--- a/src/languages/gplink.h
+++ b/src/languages/gplink.h
@@ -20,7 +20,7 @@
class Gplink : public ExternalLanguage
{
public:
- Gplink( ProcessChain *processChain, KTechlab *tqparent );
+ Gplink( ProcessChain *processChain, KTechlab *parent );
~Gplink();
virtual void processInput( ProcessOptions options );
diff --git a/src/languages/language.cpp b/src/languages/language.cpp
index e2c4c7a..71854a4 100644
--- a/src/languages/language.cpp
+++ b/src/languages/language.cpp
@@ -26,10 +26,10 @@
#include <tqtimer.h>
//BEGIN class Language
-Language::Language( ProcessChain *processChain, KTechlab *tqparent, const TQString &name )
- : TQObject(tqparent,name)
+Language::Language( ProcessChain *processChain, KTechlab *parent, const TQString &name )
+ : TQObject(parent,name)
{
- p_ktechlab = tqparent;
+ p_ktechlab = parent;
p_processChain = processChain;
}
diff --git a/src/languages/language.h b/src/languages/language.h
index 54fc408..8980cac 100644
--- a/src/languages/language.h
+++ b/src/languages/language.h
@@ -206,7 +206,7 @@ class Language : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- Language( ProcessChain *processChain, KTechlab *tqparent, const TQString &name );
+ Language( ProcessChain *processChain, KTechlab *parent, const TQString &name );
~Language();
/**
diff --git a/src/languages/languagemanager.cpp b/src/languages/languagemanager.cpp
index 0a641a9..5d9b4cc 100644
--- a/src/languages/languagemanager.cpp
+++ b/src/languages/languagemanager.cpp
@@ -33,23 +33,23 @@
LanguageManager * LanguageManager::m_pSelf = 0l;
-LanguageManager * LanguageManager::self( KateMDI::ToolView * tqparent, KTechlab * ktl )
+LanguageManager * LanguageManager::self( KateMDI::ToolView * parent, KTechlab * ktl )
{
if (!m_pSelf)
{
- assert(tqparent);
+ assert(parent);
assert(ktl);
- m_pSelf = new LanguageManager( tqparent, ktl );
+ m_pSelf = new LanguageManager( parent, ktl );
}
return m_pSelf;
}
-LanguageManager::LanguageManager( KateMDI::ToolView * tqparent, KTechlab * ktl )
+LanguageManager::LanguageManager( KateMDI::ToolView * parent, KTechlab * ktl )
: TQObject((TQObject*)ktl)
{
p_ktechlab = ktl;
- m_logView = new LogView( tqparent, "LanguageManager LogView");
+ 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 )) );
diff --git a/src/languages/languagemanager.h b/src/languages/languagemanager.h
index 2a64e90..9bfe41b 100644
--- a/src/languages/languagemanager.h
+++ b/src/languages/languagemanager.h
@@ -38,7 +38,7 @@ class LanguageManager : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- static LanguageManager * self( KateMDI::ToolView * tqparent = 0l, KTechlab * ktl = 0l );
+ static LanguageManager * self( KateMDI::ToolView * parent = 0l, KTechlab * ktl = 0l );
static TQString toolViewIdentifier() { return "LanguageManager"; }
~LanguageManager();
@@ -81,7 +81,7 @@ class LanguageManager : public TQObject
void slotMessage( const TQString &message, MessageInfo messageInfo );
protected:
- LanguageManager( KateMDI::ToolView * tqparent, KTechlab * ktl );
+ LanguageManager( KateMDI::ToolView * parent, KTechlab * ktl );
private:
LogView * m_logView;
diff --git a/src/languages/microbe.cpp b/src/languages/microbe.cpp
index 00cf1ed..110d200 100644
--- a/src/languages/microbe.cpp
+++ b/src/languages/microbe.cpp
@@ -22,8 +22,8 @@
#include <tqfile.h>
#include <kprocess.h>
-Microbe::Microbe( ProcessChain *processChain, KTechlab *tqparent )
- : ExternalLanguage( processChain, tqparent, "Microbe" )
+Microbe::Microbe( ProcessChain *processChain, KTechlab *parent )
+ : ExternalLanguage( processChain, parent, "Microbe" )
{
m_failedMessage = i18n("*** Compilation failed ***");
m_successfulMessage = i18n("*** Compilation successful ***");
diff --git a/src/languages/microbe.h b/src/languages/microbe.h
index 91b4544..617085b 100644
--- a/src/languages/microbe.h
+++ b/src/languages/microbe.h
@@ -24,7 +24,7 @@ typedef TQMap< int, TQString > ErrorMap;
class Microbe : public ExternalLanguage
{
public:
- Microbe( ProcessChain *processChain, KTechlab *tqparent );
+ Microbe( ProcessChain *processChain, KTechlab *parent );
~Microbe();
virtual void processInput( ProcessOptions options );
diff --git a/src/languages/picprogrammer.cpp b/src/languages/picprogrammer.cpp
index 3c4e38d..5ef37dd 100644
--- a/src/languages/picprogrammer.cpp
+++ b/src/languages/picprogrammer.cpp
@@ -353,8 +353,8 @@ bool PicProgrammerSettings::isPredefined( const TQString & name ) const
//BEGIN class PicProgrammer
-PicProgrammer::PicProgrammer( ProcessChain *processChain, KTechlab * tqparent )
- : ExternalLanguage( processChain, tqparent, "PicProgrammer" )
+PicProgrammer::PicProgrammer( ProcessChain *processChain, KTechlab * parent )
+ : ExternalLanguage( processChain, parent, "PicProgrammer" )
{
m_successfulMessage = i18n("*** Programming successful ***");
m_failedMessage = i18n("*** Programming failed ***");
diff --git a/src/languages/picprogrammer.h b/src/languages/picprogrammer.h
index 1c5f406..9e1b606 100644
--- a/src/languages/picprogrammer.h
+++ b/src/languages/picprogrammer.h
@@ -113,7 +113,7 @@ class PicProgrammerSettings
class PicProgrammer : public ExternalLanguage
{
public:
- PicProgrammer( ProcessChain *processChain, KTechlab *tqparent );
+ PicProgrammer( ProcessChain *processChain, KTechlab *parent );
~PicProgrammer();
virtual void processInput( ProcessOptions options );
diff --git a/src/languages/processchain.cpp b/src/languages/processchain.cpp
index 129c74e..6f5c95a 100644
--- a/src/languages/processchain.cpp
+++ b/src/languages/processchain.cpp
@@ -286,11 +286,11 @@ LanguageFunction( SDCC, sdcc, m_pSDCC )
//BEGIN class ProcessListChain
-ProcessListChain::ProcessListChain( ProcessOptionsList pol, KTechlab * tqparent, const char * name )
- : TQObject( (TQObject*)tqparent, name )
+ProcessListChain::ProcessListChain( ProcessOptionsList pol, KTechlab * parent, const char * name )
+ : TQObject( (TQObject*)parent, name )
{
m_processOptionsList = pol;
- m_pKTechlab = tqparent;
+ m_pKTechlab = parent;
// Start us off...
slotProcessChainSuccessful();
diff --git a/src/languages/processchain.h b/src/languages/processchain.h
index e4a51b4..a15bb43 100644
--- a/src/languages/processchain.h
+++ b/src/languages/processchain.h
@@ -37,7 +37,7 @@ class ProcessChain : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- ProcessChain( ProcessOptions options, KTechlab *tqparent, const char *name = 0l );
+ ProcessChain( ProcessOptions options, KTechlab *parent, const char *name = 0l );
~ProcessChain();
void setProcessOptions( ProcessOptions options ) { m_processOptions = options; }
@@ -105,7 +105,7 @@ class ProcessListChain : public TQObject
TQ_OBJECT
public:
- ProcessListChain( ProcessOptionsList pol, KTechlab *tqparent, const char *name = 0l );
+ ProcessListChain( ProcessOptionsList pol, KTechlab *parent, const char *name = 0l );
signals:
/**
diff --git a/src/languages/sdcc.cpp b/src/languages/sdcc.cpp
index 881db33..ea1845d 100644
--- a/src/languages/sdcc.cpp
+++ b/src/languages/sdcc.cpp
@@ -20,8 +20,8 @@
#include <kmessagebox.h>
#include <kprocess.h>
-SDCC::SDCC( ProcessChain * processChain, KTechlab * tqparent )
- : ExternalLanguage( processChain, tqparent, "SDCC" )
+SDCC::SDCC( ProcessChain * processChain, KTechlab * parent )
+ : ExternalLanguage( processChain, parent, "SDCC" )
{
m_successfulMessage = i18n("*** Compilation successful ***");
m_failedMessage = i18n("*** Compilation failed ***");
diff --git a/src/languages/sdcc.h b/src/languages/sdcc.h
index b37a5de..9b6af3b 100644
--- a/src/languages/sdcc.h
+++ b/src/languages/sdcc.h
@@ -19,7 +19,7 @@
class SDCC : public ExternalLanguage
{
public:
- SDCC( ProcessChain * processChain, KTechlab * tqparent );
+ SDCC( ProcessChain * processChain, KTechlab * parent );
~SDCC();
virtual void processInput( ProcessOptions options );