From 989d6a19014011bd6981abb3decb91a7b3af0971 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:16:22 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- nsplugins/viewer/viewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nsplugins/viewer/viewer.cpp') diff --git a/nsplugins/viewer/viewer.cpp b/nsplugins/viewer/viewer.cpp index e15b52eb0..eb5a0956d 100644 --- a/nsplugins/viewer/viewer.cpp +++ b/nsplugins/viewer/viewer.cpp @@ -46,7 +46,7 @@ #endif #include -#if QT_VERSION < 0x030100 +#if TQT_VERSION < 0x030100 #include "kxt.h" #include #include @@ -103,7 +103,7 @@ void parseCommandLine(int argc, char *argv[]) } } -#if QT_VERSION < 0x030100 +#if TQT_VERSION < 0x030100 static XtAppContext g_appcon; static bool g_quit = false; @@ -227,7 +227,7 @@ int main(int argc, char** argv) kdDebug(1430) << "2 - parseCommandLine" << endl; parseCommandLine(argc, argv); -#if QT_VERSION < 0x030100 +#if TQT_VERSION < 0x030100 // Create application kdDebug(1430) << "3 - XtToolkitInitialize" << endl; XtToolkitInitialize(); @@ -298,7 +298,7 @@ int main(int argc, char** argv) NSPluginViewer *viewer = new NSPluginViewer( "viewer", 0 ); // start main loop -#if QT_VERSION < 0x030100 +#if TQT_VERSION < 0x030100 kdDebug(1430) << "8 - XtAppProcessEvent" << endl; while (!g_quit) XtAppProcessEvent( g_appcon, XtIMAll); -- cgit v1.2.3