summaryrefslogtreecommitdiffstats
path: root/noatun/library/cmodule.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/library/cmodule.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/library/cmodule.cpp')
-rw-r--r--noatun/library/cmodule.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/noatun/library/cmodule.cpp b/noatun/library/cmodule.cpp
index a624fb64..27dbc686 100644
--- a/noatun/library/cmodule.cpp
+++ b/noatun/library/cmodule.cpp
@@ -3,24 +3,24 @@
#include <common.h>
#include <noatun/app.h>
-#include <qpushbutton.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
+#include <tqpushbutton.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kdebug.h>
#include <klistview.h>
-#include <qsplitter.h>
-#include <qlabel.h>
-#include <qdragobject.h>
+#include <tqsplitter.h>
+#include <tqlabel.h>
+#include <tqdragobject.h>
#include <kurlrequester.h>
#include <kfiledialog.h>
#include <kdialog.h>
#include <klineedit.h>
-#include <qtextview.h>
-#include <qwhatsthis.h>
+#include <tqtextview.h>
+#include <tqwhatsthis.h>
#include "mimetypetree.h"
@@ -28,67 +28,67 @@
* General options
*****************************************************************/
-General::General(QObject *parent)
+General::General(TQObject *parent)
: CModule(i18n("General"), i18n("General Options"), "configure", parent)
{
- mLoopList=new QCheckBox(i18n("&Return to start of playlist on finish"), this);
+ mLoopList=new TQCheckBox(i18n("&Return to start of playlist on finish"), this);
mLoopList->setChecked(napp->loopList());
- QWhatsThis::add(mLoopList, i18n("When the playlist is finished playing, return to the start, but do not start playing."));
+ TQWhatsThis::add(mLoopList, i18n("When the playlist is finished playing, return to the start, but do not start playing."));
- mOneInstance=new QCheckBox(i18n("Allow only one &instance of Noatun"), this);
+ mOneInstance=new TQCheckBox(i18n("Allow only one &instance of Noatun"), this);
mOneInstance->setChecked(napp->oneInstance());
- QWhatsThis::add(mOneInstance, i18n("Starting noatun a second time will cause it to just append items from the start to the current instance."));
+ TQWhatsThis::add(mOneInstance, i18n("Starting noatun a second time will cause it to just append items from the start to the current instance."));
- mClearOnOpen = new QCheckBox(i18n("Clear playlist &when opening a file"), this);
+ mClearOnOpen = new TQCheckBox(i18n("Clear playlist &when opening a file"), this);
mClearOnOpen->setChecked(napp->clearOnOpen());
- QWhatsThis::add(mClearOnOpen, i18n("Opening a file with the global Open menu item will clear the playlist first."));
+ TQWhatsThis::add(mClearOnOpen, i18n("Opening a file with the global Open menu item will clear the playlist first."));
- mFastVolume=new QCheckBox(i18n("&Use fast hardware volume control"), this);
+ mFastVolume=new TQCheckBox(i18n("&Use fast hardware volume control"), this);
mFastVolume->setChecked(napp->fastMixer());
- QWhatsThis::add(mFastVolume, i18n("Use the hardware mixer instead of aRts'. It affects all streams, not just Noatun's, but is a little faster."));
+ TQWhatsThis::add(mFastVolume, i18n("Use the hardware mixer instead of aRts'. It affects all streams, not just Noatun's, but is a little faster."));
- mRemaining=new QCheckBox(i18n("Display &remaining play time"), this);
+ mRemaining=new TQCheckBox(i18n("Display &remaining play time"), this);
mRemaining->setChecked(napp->displayRemaining());
- QWhatsThis::add(mRemaining, i18n("Counters count down towards zero, showing remaining time instead of elapsed time."));
+ TQWhatsThis::add(mRemaining, i18n("Counters count down towards zero, showing remaining time instead of elapsed time."));
- QLabel *titleLabel=new QLabel(i18n("Title &format:"), this);
+ TQLabel *titleLabel=new TQLabel(i18n("Title &format:"), this);
mTitleFormat=new KLineEdit(this);
titleLabel->setBuddy(mTitleFormat);
mTitleFormat->setText(napp->titleFormat());
- QWhatsThis::add(mTitleFormat, i18n(
+ TQWhatsThis::add(mTitleFormat, i18n(
"Select a title to use for each file (in the playlist and user interface). "
"Each element such as $(title) is replaced with the property with the name "
"as given in the parentheses. The properties include, but are not limited to: "
"title, author, date, comments and album."));
- QLabel *dlsaver=new QLabel(i18n("&Download folder:"), this);
+ TQLabel *dlsaver=new TQLabel(i18n("&Download folder:"), this);
mDlSaver=new KURLRequester(napp->saveDirectory(), this);
dlsaver->setBuddy(mDlSaver);
- connect( mDlSaver, SIGNAL( openFileDialog( KURLRequester * )),
- this, SLOT( slotRequesterClicked( KURLRequester * )));
- QWhatsThis::add(mDlSaver, i18n("When opening a non-local file, download it to the selected folder."));
+ connect( mDlSaver, TQT_SIGNAL( openFileDialog( KURLRequester * )),
+ this, TQT_SLOT( slotRequesterClicked( KURLRequester * )));
+ TQWhatsThis::add(mDlSaver, i18n("When opening a non-local file, download it to the selected folder."));
- mPlayOnStartup = new QButtonGroup(1, Horizontal, i18n("Play Behavior on Startup"), this);
+ mPlayOnStartup = new TQButtonGroup(1, Horizontal, i18n("Play Behavior on Startup"), this);
mPlayOnStartup->setExclusive(true);
mPlayOnStartup->insert(
- new QRadioButton(i18n("Restore &play state"), mPlayOnStartup),
+ new TQRadioButton(i18n("Restore &play state"), mPlayOnStartup),
NoatunApp::Restore
);
mPlayOnStartup->insert(
- new QRadioButton(i18n("Automatically play &first file"), mPlayOnStartup),
+ new TQRadioButton(i18n("Automatically play &first file"), mPlayOnStartup),
NoatunApp::Play
);
mPlayOnStartup->insert(
- new QRadioButton(i18n("&Do not start playing"), mPlayOnStartup),
+ new TQRadioButton(i18n("&Do not start playing"), mPlayOnStartup),
NoatunApp::DontPlay
);
- if (QButton* b = mPlayOnStartup->find(napp->startupPlayMode()))
+ if (TQButton* b = mPlayOnStartup->find(napp->startupPlayMode()))
{
b->toggle();
}
- QGridLayout *layout = new QGridLayout(this, 0, KDialog::spacingHint());
+ TQGridLayout *layout = new TQGridLayout(this, 0, KDialog::spacingHint());
layout->setSpacing(KDialog::spacingHint());
layout->addMultiCellWidget(mLoopList, 0, 0, 0, 1);