summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
Diffstat (limited to 'kate')
-rw-r--r--kate/part/katecmds.cpp2
-rw-r--r--kate/part/katecursor.h2
-rw-r--r--kate/part/katedocument.cpp2
-rw-r--r--kate/part/katefactory.cpp6
-rw-r--r--kate/part/kateprinter.cpp8
-rw-r--r--kate/part/kateprinter.h4
6 files changed, 12 insertions, 12 deletions
diff --git a/kate/part/katecmds.cpp b/kate/part/katecmds.cpp
index f00825eb5..0f6cd4e53 100644
--- a/kate/part/katecmds.cpp
+++ b/kate/part/katecmds.cpp
@@ -110,7 +110,7 @@ bool KateCommands::CoreCommands::exec(Kate::View *view,
}
else if ( cmd == "run-myself" )
{
-#ifndef Q_WS_WIN //todo
+#ifndef TQ_WS_WIN //todo
return KateFactory::self()->jscript()->execute(v, v->doc()->text(), errorMsg);
#else
return 0;
diff --git a/kate/part/katecursor.h b/kate/part/katecursor.h
index 85cd5828d..5ab41e13f 100644
--- a/kate/part/katecursor.h
+++ b/kate/part/katecursor.h
@@ -60,7 +60,7 @@ class KateTextCursor
return stream;
}
-#ifndef Q_WS_WIN //not needed
+#ifndef TQ_WS_WIN //not needed
friend void tqSwap(KateTextCursor & c1, KateTextCursor & c2) {
KateTextCursor tmp = c1;
c1 = c2;
diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp
index 1dc57a1ac..4118cb7ef 100644
--- a/kate/part/katedocument.cpp
+++ b/kate/part/katedocument.cpp
@@ -1986,7 +1986,7 @@ void KateDocument::configDialog()
KDialogBase::Ok,
kapp->mainWidget() );
-#ifndef Q_WS_WIN //TODO: reenable
+#ifndef TQ_WS_WIN //TODO: reenable
KWin::setIcons( kd->winId(), kapp->icon(), kapp->miniIcon() );
#endif
diff --git a/kate/part/katefactory.cpp b/kate/part/katefactory.cpp
index 51549bda0..56bdfa307 100644
--- a/kate/part/katefactory.cpp
+++ b/kate/part/katefactory.cpp
@@ -27,7 +27,7 @@
#include "kateschema.h"
#include "katesearch.h"
#include "kateconfig.h"
-#ifndef Q_WS_WIN //todo
+#ifndef TQ_WS_WIN //todo
#include "katejscript.h"
#endif
#include "kateluaindentscript.h"
@@ -137,7 +137,7 @@ KateFactory::KateFactory ()
// vm allocator
m_vm = new KVMAllocator ();
-#ifndef Q_WS_WIN //todo
+#ifndef TQ_WS_WIN //todo
// create script man (search scripts) + register commands
m_jscriptManager = new KateJScriptManager ();
KateCmd::self()->registerCommand (m_jscriptManager);
@@ -251,7 +251,7 @@ void KateFactory::deregisterRenderer ( KateRenderer *renderer )
KateJScript *KateFactory::jscript ()
{
-#ifndef Q_WS_WIN //todo
+#ifndef TQ_WS_WIN //todo
if (m_jscript)
return m_jscript;
diff --git a/kate/part/kateprinter.cpp b/kate/part/kateprinter.cpp
index 09debacb6..a4fdd3627 100644
--- a/kate/part/kateprinter.cpp
+++ b/kate/part/kateprinter.cpp
@@ -57,7 +57,7 @@
//BEGIN KatePrinter
bool KatePrinter::print (KateDocument *doc)
{
-#ifndef Q_WS_WIN //TODO: reenable
+#ifndef TQ_WS_WIN //TODO: reenable
KPrinter printer;
// docname is now always there, including the right Untitled name
@@ -626,12 +626,12 @@ bool KatePrinter::print (KateDocument *doc)
return true;
}
-#endif //!Q_WS_WIN
+#endif //!TQ_WS_WIN
return false;
}
//END KatePrinter
-#ifndef Q_WS_WIN //TODO: reenable
+#ifndef TQ_WS_WIN //TODO: reenable
//BEGIN KatePrintTextSettings
KatePrintTextSettings::KatePrintTextSettings( KPrinter * /*printer*/, TQWidget *parent, const char *name )
: KPrintDialogPage( parent, name )
@@ -1000,4 +1000,4 @@ void KatePrintLayout::setOptions( const TQMap<TQString,TQString>& opts )
//END KatePrintLayout
#include "kateprinter.moc"
-#endif //!Q_WS_WIN
+#endif //!TQ_WS_WIN
diff --git a/kate/part/kateprinter.h b/kate/part/kateprinter.h
index b24691102..ef0040eac 100644
--- a/kate/part/kateprinter.h
+++ b/kate/part/kateprinter.h
@@ -40,7 +40,7 @@ class KatePrinter
static bool print (KateDocument *doc);
};
-#ifndef Q_WS_WIN //TODO: reenable
+#ifndef TQ_WS_WIN //TODO: reenable
//BEGIN Text settings
/*
Text settings page:
@@ -131,6 +131,6 @@ class KatePrintLayout : public KPrintDialogPage
KColorButton* kcbtnBoxColor;
};
//END Layout
-#endif //!Q_WS_WIN
+#endif //!TQ_WS_WIN
#endif