summaryrefslogtreecommitdiffstats
path: root/kmix/kmixapplet.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/kmixapplet.h')
-rw-r--r--kmix/kmixapplet.h42
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;
};