From 73c08b592db45af554b9f21029bc549d70f683ab Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:46:05 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kscreensaver/blankscrn.cpp | 4 ++-- kscreensaver/random.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kscreensaver') diff --git a/kscreensaver/blankscrn.cpp b/kscreensaver/blankscrn.cpp index 114bff145..eb3af7b63 100644 --- a/kscreensaver/blankscrn.cpp +++ b/kscreensaver/blankscrn.cpp @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include @@ -69,7 +69,7 @@ KBlankSetup::KBlankSetup( TQWidget *parent, const char *name ) grid->setRowStretch( 2, 10 ); grid->setRowStretch( 3, 20 ); - setMinimumSize( tqsizeHint() ); + setMinimumSize( sizeHint() ); } // read settings from config file diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp index 42b92f936..9ae2b0134 100644 --- a/kscreensaver/random.cpp +++ b/kscreensaver/random.cpp @@ -14,8 +14,8 @@ #include #include -#include -#include +#include +#include #include #include #include @@ -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.").tqarg( name ).local8Bit().data()); + "Any arguments (except -setup) are passed on to the screen saver.").arg( 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.tqat(indx)); + TQString filename = *(saverFileList.at(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( tqsizeHint() ); + setMinimumSize( sizeHint() ); KConfig config("krandom.kssrc"); config.setGroup("Settings"); -- cgit v1.2.1