summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
commit2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch)
tree65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /kscreensaver
parent73c08b592db45af554b9f21029bc549d70f683ab (diff)
downloadtdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz
tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'kscreensaver')
-rw-r--r--kscreensaver/blankscrn.cpp4
-rw-r--r--kscreensaver/random.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/kscreensaver/blankscrn.cpp b/kscreensaver/blankscrn.cpp
index eb3af7b63..114bff145 100644
--- a/kscreensaver/blankscrn.cpp
+++ b/kscreensaver/blankscrn.cpp
@@ -9,7 +9,7 @@
#include <stdlib.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include <klocale.h>
#include <kconfig.h>
@@ -69,7 +69,7 @@ KBlankSetup::KBlankSetup( TQWidget *parent, const char *name )
grid->setRowStretch( 2, 10 );
grid->setRowStretch( 3, 20 );
- setMinimumSize( sizeHint() );
+ setMinimumSize( tqsizeHint() );
}
// read settings from config file
diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp
index 9ae2b0134..42b92f936 100644
--- a/kscreensaver/random.cpp
+++ b/kscreensaver/random.cpp
@@ -14,8 +14,8 @@
#include <time.h>
#include <unistd.h>
-#include <textstream.h>
-#include <layout.h>
+#include <tqtextstream.h>
+#include <tqlayout.h>
#include <tqframe.h>
#include <tqcheckbox.h>
#include <tqwidget.h>
@@ -41,7 +41,7 @@ static void usage(char *name)
{
puts(i18n("Usage: %1 [-setup] [args]\n"
"Starts a random screen saver.\n"
- "Any arguments (except -setup) are passed on to the screen saver.").arg( name ).local8Bit().data());
+ "Any arguments (except -setup) are passed on to the screen saver.").tqarg( name ).local8Bit().data());
}
static const char appName[] = "random";
@@ -201,7 +201,7 @@ int main(int argc, char *argv[])
KRandomSequence rnd;
int indx = rnd.getLong(saverFileList.count());
- TQString filename = *(saverFileList.at(indx));
+ TQString filename = *(saverFileList.tqat(indx));
KDesktopFile config(filename, true);
@@ -271,7 +271,7 @@ KRandomSetup::KRandomSetup( TQWidget *parent, const char *name )
manipulateScreen = new TQCheckBox(i18n("Use screen savers that manipulate the screen"), main);
grid->addWidget(manipulateScreen, 1, 0);
- setMinimumSize( sizeHint() );
+ setMinimumSize( tqsizeHint() );
KConfig config("krandom.kssrc");
config.setGroup("Settings");