summaryrefslogtreecommitdiffstats
path: root/kate/interfaces/interfaces.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/interfaces/interfaces.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/interfaces/interfaces.cpp')
-rw-r--r--kate/interfaces/interfaces.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kate/interfaces/interfaces.cpp b/kate/interfaces/interfaces.cpp
index 42bd35b7e..ad20959b6 100644
--- a/kate/interfaces/interfaces.cpp
+++ b/kate/interfaces/interfaces.cpp
@@ -29,9 +29,9 @@ namespace Kate
bool Document::s_openErrorDialogsActivated = true;
bool Document::s_fileChangedDialogsActivated = false;
-QString Document::s_defaultEncoding;
+TQString Document::s_defaultEncoding;
-Document::Document (QObject* parent, const char* name)
+Document::Document (TQObject* parent, const char* name)
: KTextEditor::Document (parent, name)
{
}
@@ -54,7 +54,7 @@ void Document::setFileChangedDialogsActivated (bool on)
s_fileChangedDialogsActivated = on;
}
-const QString &Document::defaultEncoding ()
+const TQString &Document::defaultEncoding ()
{
return s_defaultEncoding;
}
@@ -69,12 +69,12 @@ bool Document::unregisterCommand (Command *cmd)
return KateCmd::self()->unregisterCommand (cmd);
}
-Command *Document::queryCommand (const QString &cmd)
+Command *Document::queryCommand (const TQString &cmd)
{
return KateCmd::self()->queryCommand (cmd);
}
-View::View ( KTextEditor::Document *doc, QWidget *parent, const char *name ) : KTextEditor::View (doc, parent, name)
+View::View ( KTextEditor::Document *doc, TQWidget *parent, const char *name ) : KTextEditor::View (doc, parent, name)
{
}
@@ -111,7 +111,7 @@ DocumentExt *documentExt (KTextEditor::Document *doc)
return static_cast<DocumentExt*>(doc->qt_cast("Kate::DocumentExt"));
}
-Document *createDocument ( QObject *parent, const char *name )
+Document *createDocument ( TQObject *parent, const char *name )
{
return (Document* ) KTextEditor::createDocument ("libkatepart", parent, name);
}