summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakeqt3app
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/cmakeqt3app')
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp2
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
index 973aee2c..f3c5f7f2 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
@@ -28,7 +28,7 @@
%{APPNAME}::%{APPNAME}()
: TQMainWindow( 0, "%{APPNAME}", WDestructiveClose )
{
- printer = new QPrinter;
+ printer = new TQPrinter;
TQPixmap openIcon, saveIcon, printIcon;
TQToolBar * fileTools = new TQToolBar( this, "file operations" );
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
index 48bf459a..af12e1eb 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
@@ -5,7 +5,7 @@
#include <tqmainwindow.h>
-class QTextEdit;
+class TQTextEdit;
class %{APPNAME}: public QMainWindow
{