summaryrefslogtreecommitdiffstats
path: root/krandr
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
commitbab40890696ec68c337dc290880423a0602b83c7 (patch)
tree6ba03f720b1fa88235ba339e7aedb4455430357e /krandr
parentf7e71d47719ab6094cf4a9fafffa5ea351973522 (diff)
downloadtdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz
tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip
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
Diffstat (limited to 'krandr')
-rw-r--r--krandr/ktimerdialog.cpp2
-rw-r--r--krandr/randr.h16
2 files changed, 9 insertions, 9 deletions
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;