From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/interfaces/interfaces.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kate/interfaces/interfaces.cpp') diff --git a/kate/interfaces/interfaces.cpp b/kate/interfaces/interfaces.cpp index ad20959b6..59abc37cc 100644 --- a/kate/interfaces/interfaces.cpp +++ b/kate/interfaces/interfaces.cpp @@ -100,7 +100,7 @@ Document *document (KTextEditor::Document *doc) if (!doc) return 0; - return static_cast(doc->qt_cast("Kate::Document")); + return static_cast(doc->tqqt_cast("Kate::Document")); } DocumentExt *documentExt (KTextEditor::Document *doc) @@ -108,7 +108,7 @@ DocumentExt *documentExt (KTextEditor::Document *doc) if (!doc) return 0; - return static_cast(doc->qt_cast("Kate::DocumentExt")); + return static_cast(doc->tqqt_cast("Kate::DocumentExt")); } Document *createDocument ( TQObject *parent, const char *name ) @@ -121,7 +121,7 @@ View *view (KTextEditor::View *view) if (!view) return 0; - return static_cast(view->qt_cast("Kate::View")); + return static_cast(view->tqqt_cast("Kate::View")); } } -- cgit v1.2.3