summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kscreensaver/kscreensaver.cpp')
-rw-r--r--languages/cpp/app_templates/kscreensaver/kscreensaver.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp b/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
index f4418571..efdbf40b 100644
--- a/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
+++ b/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
@@ -1,8 +1,8 @@
%{CPP_TEMPLATE}
#include <stdlib.h>
-#include <qcheckbox.h>
-#include <qcolor.h>
+#include <tqcheckbox.h>
+#include <tqcolor.h>
#include <kapplication.h>
#include <klocale.h>
#include <kpushbutton.h>
@@ -24,7 +24,7 @@ extern "C"
return new %{APPNAME}( id );
}
- QDialog *kss_setup()
+ TQDialog *kss_setup()
{
KGlobal::locale()->insertCatalogue("%{APPNAMELC}");
return new %{APPNAME}Setup();
@@ -33,15 +33,15 @@ extern "C"
//-----------------------------------------------------------------------------
//! dialog to setup screen saver parameters
-%{APPNAME}Setup::%{APPNAME}Setup( QWidget *parent, const char *name )
+%{APPNAME}Setup::%{APPNAME}Setup( TQWidget *parent, const char *name )
: %{APPNAME}UI( parent, name, TRUE )
{
/// @todo
//Connect your signals and slots here to configure the screen saver.
- connect( OkayPushButton, SIGNAL( released() ),
- SLOT( slotOkPressed() ) );
- connect( CancelPushButton, SIGNAL( released() ),
- SLOT( slotCancelPressed() ) );
+ connect( OkayPushButton, TQT_SIGNAL( released() ),
+ TQT_SLOT( slotOkPressed() ) );
+ connect( CancelPushButton, TQT_SIGNAL( released() ),
+ TQT_SLOT( slotCancelPressed() ) );
}
@@ -101,7 +101,7 @@ void %{APPNAME}::blank()
{
/// @todo
//Add your code to render the screen.
- setBackgroundColor( QColor(black) );
+ setBackgroundColor( TQColor(black) );
//
erase();
}