diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmix/kmixapplet.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmix/kmixapplet.h')
-rw-r--r-- | kmix/kmixapplet.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kmix/kmixapplet.h b/kmix/kmixapplet.h index 3962b711..561a596f 100644 --- a/kmix/kmixapplet.h +++ b/kmix/kmixapplet.h @@ -23,9 +23,9 @@ #define KMIXAPPLET_H // Qt -#include <qlayout.h> -#include <qptrlist.h> -#include <qwidget.h> +#include <tqlayout.h> +#include <tqptrlist.h> +#include <tqwidget.h> // KDE #include <kaboutdata.h> @@ -44,14 +44,14 @@ class AppletConfigDialog : public KDialogBase { Q_OBJECT public: - AppletConfigDialog( QWidget * parent=0, const char * name=0 ); + AppletConfigDialog( TQWidget * parent=0, const char * name=0 ); virtual ~AppletConfigDialog() {}; - void setActiveColors(const QColor& high, const QColor& low, const QColor& back); - void activeColors(QColor& high, QColor& low, QColor& back) const; + void setActiveColors(const TQColor& high, const TQColor& low, const TQColor& back); + void activeColors(TQColor& high, TQColor& low, TQColor& back) const; - void setMutedColors(const QColor& high, const QColor& low, const QColor& back); - void mutedColors(QColor& high, QColor& low, QColor& back) const; + void setMutedColors(const TQColor& high, const TQColor& low, const TQColor& back); + void mutedColors(TQColor& high, TQColor& low, TQColor& back) const; void setUseCustomColors(bool); bool useCustomColors() const; @@ -72,22 +72,22 @@ class KMixApplet : public KPanelApplet Q_OBJECT public: - KMixApplet( const QString& configFile, Type t = Normal, - QWidget *parent = 0, const char *name = 0 ); + KMixApplet( const TQString& configFile, Type t = Normal, + TQWidget *parent = 0, const char *name = 0 ); virtual ~KMixApplet(); struct Colors { - QColor high, low, back, mutedHigh, mutedLow, mutedBack; + TQColor high, low, back, mutedHigh, mutedLow, mutedBack; }; void about(); void help(); void preferences(); void reportBug(); - void paletteChange ( const QPalette & oldPalette ); + void paletteChange ( const TQPalette & oldPalette ); - QSize sizeHint() const; - QSizePolicy sizePolicy() const; + TQSize sizeHint() const; + TQSizePolicy sizePolicy() const; int widthForHeight(int) const; int heightForWidth(int) const; @@ -98,11 +98,11 @@ protected slots: void updateGeometrySlot(); protected: - void resizeEvent( QResizeEvent * ); + void resizeEvent( TQResizeEvent * ); void saveConfig(); - void saveConfig( KConfig *config, const QString &grp ); + void saveConfig( KConfig *config, const TQString &grp ); void loadConfig(); - void loadConfig( KConfig *config, const QString &grp ); + void loadConfig( KConfig *config, const TQString &grp ); private: void positionChange(Position); @@ -110,7 +110,7 @@ private: void setColors( const Colors &color ); ViewApplet *m_mixerWidget; - QPushButton *m_errorLabel; + TQPushButton *m_errorLabel; AppletConfigDialog *m_pref; static int s_instCount; @@ -119,10 +119,10 @@ private: KMixApplet::Colors _colors; bool _customColors; - QLayout* _layout; + TQLayout* _layout; - QString _mixerId; - QString _mixerName; + TQString _mixerId; + TQString _mixerName; KAboutData m_aboutData; }; |