summaryrefslogtreecommitdiffstats
path: root/krandr
diff options
context:
space:
mode:
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;