summaryrefslogtreecommitdiffstats
path: root/noatun/modules/voiceprint/prefs.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/voiceprint/prefs.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-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 'noatun/modules/voiceprint/prefs.cpp')
-rw-r--r--noatun/modules/voiceprint/prefs.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/noatun/modules/voiceprint/prefs.cpp b/noatun/modules/voiceprint/prefs.cpp
index 48998680..230c542f 100644
--- a/noatun/modules/voiceprint/prefs.cpp
+++ b/noatun/modules/voiceprint/prefs.cpp
@@ -3,33 +3,33 @@
#include <klocale.h>
#include <kglobal.h>
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
#include <kcolorbutton.h>
#include <kconfig.h>
-Prefs::Prefs(QObject* parent)
+Prefs::Prefs(TQObject* parent)
: CModule(i18n("Voiceprint"), i18n("Options for the Voiceprint Visualization"), "xapp", parent)
{
- QVBoxLayout *king=new QVBoxLayout(this);
- QHBoxLayout *minor;
+ QVBoxLayout *king=new TQVBoxLayout(this);
+ TQHBoxLayout *minor;
- QLabel *label;
+ TQLabel *label;
mForeground=new KColorButton(this);
- label=new QLabel(mForeground, i18n("&Foreground color:"), this);
- minor=new QHBoxLayout(king);
+ label=new TQLabel(mForeground, i18n("&Foreground color:"), this);
+ minor=new TQHBoxLayout(king);
minor->addWidget(label);
minor->addWidget(mForeground);
mBackground=new KColorButton(this);
- label=new QLabel(mBackground, i18n("&Background color:"), this);
- minor=new QHBoxLayout(king);
+ label=new TQLabel(mBackground, i18n("&Background color:"), this);
+ minor=new TQHBoxLayout(king);
minor->addWidget(label);
minor->addWidget(mBackground);
mLine=new KColorButton(this);
- label=new QLabel(mForeground, i18n("&Sweep color:"), this);
- minor=new QHBoxLayout(king);
+ label=new TQLabel(mForeground, i18n("&Sweep color:"), this);
+ minor=new TQHBoxLayout(king);
minor->addWidget(label);
minor->addWidget(mLine);
@@ -40,8 +40,8 @@ void Prefs::reopen()
{
KConfig *config=KGlobal::config();
config->setGroup("VoicePrint");
- QColor black(0, 0, 0);
- QColor blue(0, 0, 222);
+ TQColor black(0, 0, 0);
+ TQColor blue(0, 0, 222);
mBackground->setColor(config->readColorEntry("Background", &black));
mForeground->setColor(config->readColorEntry("Foreground", &blue));
mLine->setColor(config->readColorEntry("Line", &black));