summaryrefslogtreecommitdiffstats
path: root/src/kmplayerconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayerconfig.h')
-rw-r--r--src/kmplayerconfig.h47
1 files changed, 24 insertions, 23 deletions
diff --git a/src/kmplayerconfig.h b/src/kmplayerconfig.h
index 784c1c6..4520903 100644
--- a/src/kmplayerconfig.h
+++ b/src/kmplayerconfig.h
@@ -23,9 +23,9 @@
#include <config.h>
#endif
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qmap.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <tqmap.h>
#include <kurl.h>
@@ -40,15 +40,15 @@ class View;
class OutputDriver {
public:
const char * driver;
- const QString description;
+ const TQString description;
};
class ColorSetting {
public:
- QString title;
- QString option;
- QColor color;
- QColor newcolor;
+ TQString title;
+ TQString option;
+ TQColor color;
+ TQColor newcolor;
enum Target {
playlist_background = 0, playlist_foreground, playlist_active,
console_background, console_foreground,
@@ -60,10 +60,10 @@ public:
class FontSetting {
public:
- QString title;
- QString option; // for ini file
- QFont font;
- QFont newfont;
+ TQString title;
+ TQString option; // for ini file
+ TQFont font;
+ TQFont newfont;
enum Target {
playlist, infowindow, last_target
} target;
@@ -85,16 +85,17 @@ public:
virtual void write (KConfig *) = 0;
virtual void read (KConfig *) = 0;
virtual void sync (bool fromUI) = 0;
- virtual void prefLocation (QString & item, QString & icon, QString & tab) = 0;
- virtual QFrame * prefPage (QWidget * parent) = 0;
+ virtual void prefLocation (TQString & item, TQString & icon, TQString & tab) = 0;
+ virtual TQFrame * prefPage (TQWidget * tqparent) = 0;
PreferencesPage * next;
};
/*
* Class for storing all actual settings and reading/writing them
*/
-class KMPLAYER_EXPORT Settings : public QObject {
+class KMPLAYER_EXPORT Settings : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
Settings (PartBase *, KConfig * part);
~Settings ();
@@ -107,8 +108,8 @@ public:
View * defaultView ();
KConfig * kconfig () { return m_config; }
- QStringList urllist;
- QStringList sub_urllist;
+ TQStringList urllist;
+ TQStringList sub_urllist;
int volume;
int contrast;
int brightness;
@@ -171,9 +172,9 @@ public:
enum ReplayOption { ReplayNo = 0, ReplayFinished, ReplayAfter };
ReplayOption replayoption;
int replaytime;
- QString mencoderarguments;
- QString ffmpegarguments;
- QString recordfile;
+ TQString mencoderarguments;
+ TQString ffmpegarguments;
+ TQString recordfile;
int seektime;
int videodriver;
int audiodriver;
@@ -181,9 +182,9 @@ public:
OutputDriver * videodrivers;
ColorSetting colors [ColorSetting::last_target];
FontSetting fonts [FontSetting::last_target];
- QString dvddevice;
- QString vcddevice;
- QMap <QString, QString> backends;
+ TQString dvddevice;
+ TQString vcddevice;
+ TQMap <TQString, TQString> backends;
PreferencesPage * pagelist;
signals:
void configChanged ();