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 /juk/exampleoptions.cpp | |
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 'juk/exampleoptions.cpp')
-rw-r--r-- | juk/exampleoptions.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/juk/exampleoptions.cpp b/juk/exampleoptions.cpp index 68e2bc0f..e365546a 100644 --- a/juk/exampleoptions.cpp +++ b/juk/exampleoptions.cpp @@ -16,12 +16,12 @@ #include <kurlrequester.h> #include <klocale.h> -#include <qradiobutton.h> -#include <qlayout.h> +#include <tqradiobutton.h> +#include <tqlayout.h> #include "exampleoptions.h" -ExampleOptions::ExampleOptions(QWidget *parent) : +ExampleOptions::ExampleOptions(TQWidget *parent) : ExampleOptionsBase(parent, "example options widget") { } @@ -44,31 +44,31 @@ void ExampleOptions::exampleFileChanged() emit fileChanged(); } -ExampleOptionsDialog::ExampleOptionsDialog(QWidget *parent) : - QDialog(parent, "example options dialog") +ExampleOptionsDialog::ExampleOptionsDialog(TQWidget *parent) : + TQDialog(parent, "example options dialog") { setCaption(i18n("JuK")); - QVBoxLayout *l = new QVBoxLayout(this); + TQVBoxLayout *l = new TQVBoxLayout(this); m_options = new ExampleOptions(this); l->addWidget(m_options); // Forward signals - connect(m_options, SIGNAL(fileChanged()), SLOT(fileModeSelected())); - connect(m_options, SIGNAL(dataChanged()), SIGNAL(dataChanged())); - connect(m_options->m_exampleFile, SIGNAL(urlSelected(const QString &)), - this, SIGNAL(fileChanged(const QString &))); - connect(m_options->m_exampleFile, SIGNAL(returnPressed(const QString &)), - this, SIGNAL(fileChanged(const QString &))); + connect(m_options, TQT_SIGNAL(fileChanged()), TQT_SLOT(fileModeSelected())); + connect(m_options, TQT_SIGNAL(dataChanged()), TQT_SIGNAL(dataChanged())); + connect(m_options->m_exampleFile, TQT_SIGNAL(urlSelected(const TQString &)), + this, TQT_SIGNAL(fileChanged(const TQString &))); + connect(m_options->m_exampleFile, TQT_SIGNAL(returnPressed(const TQString &)), + this, TQT_SIGNAL(fileChanged(const TQString &))); } -void ExampleOptionsDialog::hideEvent(QHideEvent *) +void ExampleOptionsDialog::hideEvent(TQHideEvent *) { emit signalHidden(); } -void ExampleOptionsDialog::showEvent(QShowEvent *) +void ExampleOptionsDialog::showEvent(TQShowEvent *) { emit signalShown(); } |