From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krandr/ktimerdialog.cpp | 2 +- krandr/libkrandr.cc | 6 +++--- krandr/randr.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'krandr') diff --git a/krandr/ktimerdialog.cpp b/krandr/ktimerdialog.cpp index 55302b407..3885ca438 100644 --- a/krandr/ktimerdialog.cpp +++ b/krandr/ktimerdialog.cpp @@ -95,7 +95,7 @@ void KTimerDialog::setMainWidget( TQWidget *widget ) // yuck, here goes. TQVBox *newWidget = new TQVBox( this ); - if ( widget->parentWidget() != mainWidget ) { + if ( widget->tqparentWidget() != mainWidget ) { widget->reparent( newWidget, 0, TQPoint(0,0) ); } else { newWidget->insertChild( widget ); diff --git a/krandr/libkrandr.cc b/krandr/libkrandr.cc index cbb023e4f..492afa94b 100644 --- a/krandr/libkrandr.cc +++ b/krandr/libkrandr.cc @@ -32,7 +32,7 @@ TQString KRandrSimpleAPI::getIccFileName(TQString profileName, TQString screenNa TQString retval; if (profileName != NULL) { - t_config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" )); + t_config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" )); } else { t_systemconfig = new KSimpleConfig( kde_confdir + TQString("/kicc/kiccconfigrc") ); @@ -216,7 +216,7 @@ TQString KRandrSimpleAPI::applyIccConfiguration(TQString profileName, TQString k int screenNumber = 0; TQString errorstr = ""; - t_config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" )); + t_config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" )); // Find all screens if (isValid() == true) { @@ -248,7 +248,7 @@ TQString KRandrSimpleAPI::getCurrentProfile () { TQString profileName; KSimpleConfig *t_config; - t_config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" )); + t_config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" )); profileName = t_config->readEntry("CurrentProfile"); delete t_config; return profileName; diff --git a/krandr/randr.h b/krandr/randr.h index 355f3d866..54d9d2f44 100644 --- a/krandr/randr.h +++ b/krandr/randr.h @@ -29,7 +29,7 @@ class KTimerDialog; class RandRScreenPrivate; -class RandRScreen : public QObject +class RandRScreen : public TQObject { Q_OBJECT -- cgit v1.2.1