From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krandr/ktimerdialog.cpp | 2 +- krandr/randr.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'krandr') diff --git a/krandr/ktimerdialog.cpp b/krandr/ktimerdialog.cpp index 3885ca438..af1b85c49 100644 --- a/krandr/ktimerdialog.cpp +++ b/krandr/ktimerdialog.cpp @@ -98,7 +98,7 @@ void KTimerDialog::setMainWidget( TQWidget *widget ) if ( widget->tqparentWidget() != mainWidget ) { widget->reparent( newWidget, 0, TQPoint(0,0) ); } else { - newWidget->insertChild( widget ); + newWidget->insertChild( TQT_TQOBJECT(widget) ); } timerWidget->reparent( newWidget, 0, TQPoint(0, 0) ); diff --git a/krandr/randr.h b/krandr/randr.h index 54d9d2f44..591a42f45 100644 --- a/krandr/randr.h +++ b/krandr/randr.h @@ -65,16 +65,16 @@ public slots: bool confirm(); public: - QString changedMessage() const; + TQString changedMessage() const; bool changedFromOriginal() const; void proposeOriginal(); bool proposedChanged() const; - static QString rotationName(int rotation, bool pastTense = false, bool capitalised = true); - QPixmap rotationIcon(int rotation) const; - QString currentRotationDescription() const; + static TQString rotationName(int rotation, bool pastTense = false, bool capitalised = true); + TQPixmap rotationIcon(int rotation) const; + TQString currentRotationDescription() const; int rotationIndexToDegree(int rotation) const; int rotationDegreeToIndex(int degree) const; @@ -84,12 +84,12 @@ public: */ TQStringList refreshRates(int size) const; - QString refreshRateDirectDescription(int rate) const; - QString refreshRateIndirectDescription(int size, int index) const; - QString refreshRateDescription(int size, int index) const; + TQString refreshRateDirectDescription(int rate) const; + TQString refreshRateIndirectDescription(int size, int index) const; + TQString refreshRateDescription(int size, int index) const; int currentRefreshRate() const; - QString currentRefreshRateDescription() const; + TQString currentRefreshRateDescription() const; // Refresh rate hz <==> index conversion int refreshRateHzToIndex(int size, int hz) const; -- cgit v1.2.1