From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krandr/randr.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'krandr/randr.h') diff --git a/krandr/randr.h b/krandr/randr.h index c7eb240cf..355f3d866 100644 --- a/krandr/randr.h +++ b/krandr/randr.h @@ -19,9 +19,9 @@ #ifndef __RANDR_H__ #define __RANDR_H__ -#include -#include -#include +#include +#include +#include #include #include @@ -82,7 +82,7 @@ public: /** * Refresh rate functions. */ - QStringList refreshRates(int size) const; + TQStringList refreshRates(int size) const; QString refreshRateDirectDescription(int rate) const; QString refreshRateIndirectDescription(int size, int index) const; @@ -99,8 +99,8 @@ public: * Screen size functions. */ int numSizes() const; - const QSize& pixelSize(int index) const; - const QSize& mmSize(int index) const; + const TQSize& pixelSize(int index) const; + const TQSize& mmSize(int index) const; int pixelCount(int index) const; /** @@ -109,7 +109,7 @@ public: * @param pixelSize dimensions of the screen in pixels * @returns the index of the requested screen size */ - int sizeIndex(QSize pixelSize) const; + int sizeIndex(TQSize pixelSize) const; int rotations() const; @@ -154,8 +154,8 @@ private: int m_screen; - QValueList m_pixelSizes; - QValueList m_mmSizes; + TQValueList m_pixelSizes; + TQValueList m_mmSizes; int m_rotations; int m_originalRotation; @@ -177,7 +177,7 @@ private slots: void shownDialogDestroyed(); }; -typedef QPtrList ScreenList; +typedef TQPtrList ScreenList; class RandRDisplay { @@ -185,14 +185,14 @@ public: RandRDisplay(); bool isValid() const; - const QString& errorCode() const; - const QString& version() const; + const TQString& errorCode() const; + const TQString& version() const; int eventBase() const; int screenChangeNotifyEvent() const; int errorBase() const; - int screenIndexOfWidget(QWidget* widget); + int screenIndexOfWidget(TQWidget* widget); int numScreens() const; RandRScreen* screen(int index); -- cgit v1.2.1