summaryrefslogtreecommitdiffstats
path: root/src/languages/languagemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/languages/languagemanager.cpp')
-rw-r--r--src/languages/languagemanager.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/languages/languagemanager.cpp b/src/languages/languagemanager.cpp
index a6dddd8..0a641a9 100644
--- a/src/languages/languagemanager.cpp
+++ b/src/languages/languagemanager.cpp
@@ -25,7 +25,7 @@
#include <kdockwidget.h>
#include <kiconloader.h>
#include <klocale.h>
-#include <qwhatsthis.h>
+#include <tqwhatsthis.h>
#include <assert.h>
@@ -33,26 +33,26 @@
LanguageManager * LanguageManager::m_pSelf = 0l;
-LanguageManager * LanguageManager::self( KateMDI::ToolView * parent, KTechlab * ktl )
+LanguageManager * LanguageManager::self( KateMDI::ToolView * tqparent, KTechlab * ktl )
{
if (!m_pSelf)
{
- assert(parent);
+ assert(tqparent);
assert(ktl);
- m_pSelf = new LanguageManager( parent, ktl );
+ m_pSelf = new LanguageManager( tqparent, ktl );
}
return m_pSelf;
}
-LanguageManager::LanguageManager( KateMDI::ToolView * parent, KTechlab * ktl )
- : QObject((QObject*)ktl)
+LanguageManager::LanguageManager( KateMDI::ToolView * tqparent, KTechlab * ktl )
+ : TQObject((TQObject*)ktl)
{
p_ktechlab = ktl;
- m_logView = new LogView( parent, "LanguageManager LogView");
+ m_logView = new LogView( tqparent, "LanguageManager LogView");
- QWhatsThis::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, SIGNAL(paraClicked(const QString&, MessageInfo )), this, SLOT(slotParaClicked(const QString&, MessageInfo )) );
+ 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 )) );
reset();
}
@@ -86,20 +86,20 @@ ProcessListChain * LanguageManager::compile( ProcessOptionsList pol )
}
-void LanguageManager::slotError( const QString &error, MessageInfo messageInfo )
+void LanguageManager::slotError( const TQString &error, MessageInfo messageInfo )
{
m_logView->addOutput( error, LogView::ot_error, messageInfo );
}
-void LanguageManager::slotWarning( const QString &error, MessageInfo messageInfo )
+void LanguageManager::slotWarning( const TQString &error, MessageInfo messageInfo )
{
m_logView->addOutput( error, LogView::ot_warning, messageInfo );
}
-void LanguageManager::slotMessage( const QString &error, MessageInfo messageInfo )
+void LanguageManager::slotMessage( const TQString &error, MessageInfo messageInfo )
{
m_logView->addOutput( error, LogView::ot_message, messageInfo );
}
-void LanguageManager::slotParaClicked( const QString& message, MessageInfo messageInfo )
+void LanguageManager::slotParaClicked( const TQString& message, MessageInfo messageInfo )
{
Q_UNUSED(message);
DocManager::self()->gotoTextLine( messageInfo.fileURL(), messageInfo.fileLine() );