summaryrefslogtreecommitdiffstats
path: root/kscreensaver/blankscrn.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kscreensaver/blankscrn.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/blankscrn.cpp')
-rw-r--r--kscreensaver/blankscrn.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kscreensaver/blankscrn.cpp b/kscreensaver/blankscrn.cpp
index 6b0b974c9..1f57726b2 100644
--- a/kscreensaver/blankscrn.cpp
+++ b/kscreensaver/blankscrn.cpp
@@ -8,8 +8,8 @@
// 2001/03/04 Converted to use libkscreensaver by Martin R. Jones
#include <stdlib.h>
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include <klocale.h>
#include <kconfig.h>
@@ -32,7 +32,7 @@ extern "C"
return new KBlankSaver( id );
}
- KDE_EXPORT QDialog* kss_setup()
+ KDE_EXPORT TQDialog* kss_setup()
{
return new KBlankSetup();
}
@@ -41,25 +41,25 @@ extern "C"
//-----------------------------------------------------------------------------
// dialog to setup screen saver parameters
//
-KBlankSetup::KBlankSetup( QWidget *parent, const char *name )
+KBlankSetup::KBlankSetup( TQWidget *parent, const char *name )
: KDialogBase( parent, name, true, i18n( "Setup Blank Screen Saver" ),
Ok|Cancel, Ok, true )
{
readSettings();
- QFrame *main = makeMainWidget();
- QGridLayout *grid = new QGridLayout(main, 4, 2, 0, spacingHint() );
+ TQFrame *main = makeMainWidget();
+ TQGridLayout *grid = new TQGridLayout(main, 4, 2, 0, spacingHint() );
- QLabel *label = new QLabel( i18n("Color:"), main );
+ TQLabel *label = new TQLabel( i18n("Color:"), main );
grid->addWidget(label, 0, 0);
KColorButton *colorPush = new KColorButton( color, main );
colorPush->setMinimumWidth(80);
- connect( colorPush, SIGNAL( changed(const QColor &) ),
- SLOT( slotColor(const QColor &) ) );
+ connect( colorPush, TQT_SIGNAL( changed(const TQColor &) ),
+ TQT_SLOT( slotColor(const TQColor &) ) );
grid->addWidget(colorPush, 1, 0);
- preview = new QWidget( main );
+ preview = new TQWidget( main );
preview->setFixedSize( 220, 165 );
preview->setBackgroundColor( black );
preview->show(); // otherwise saver does not get correct size
@@ -81,7 +81,7 @@ void KBlankSetup::readSettings()
color = config->readColorEntry( "Color", &black );
}
-void KBlankSetup::slotColor( const QColor &col )
+void KBlankSetup::slotColor( const TQColor &col )
{
color = col;
saver->setColor( color );
@@ -112,7 +112,7 @@ KBlankSaver::~KBlankSaver()
}
// set the color
-void KBlankSaver::setColor( const QColor &col )
+void KBlankSaver::setColor( const TQColor &col )
{
color = col;
blank();