diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/pickfileradio.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/pickfileradio.cpp')
-rw-r--r-- | kalarm/pickfileradio.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kalarm/pickfileradio.cpp b/kalarm/pickfileradio.cpp index c00276502..15b56d942 100644 --- a/kalarm/pickfileradio.cpp +++ b/kalarm/pickfileradio.cpp @@ -20,9 +20,9 @@ #include "kalarm.h" -#include <qbuttongroup.h> -#include <qpushbutton.h> -#include <qtimer.h> +#include <tqbuttongroup.h> +#include <tqpushbutton.h> +#include <tqtimer.h> #include <kdebug.h> @@ -30,7 +30,7 @@ #include "pickfileradio.moc" -PickFileRadio::PickFileRadio(QPushButton* button, LineEdit* edit, const QString& text, QButtonGroup* parent, const char* name) +PickFileRadio::PickFileRadio(TQPushButton* button, LineEdit* edit, const TQString& text, TQButtonGroup* parent, const char* name) : RadioButton(text, parent, name), mGroup(parent), mEdit(edit), @@ -41,13 +41,13 @@ PickFileRadio::PickFileRadio(QPushButton* button, LineEdit* edit, const QString& Q_ASSERT(parent); Q_ASSERT(button); mButton->setEnabled(false); - connect(mButton, SIGNAL(clicked()), SLOT(slotPickFile())); + connect(mButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotPickFile())); if (mEdit) mEdit->setEnabled(false); - connect(mGroup, SIGNAL(buttonSet(int)), SLOT(slotSelectionChanged(int))); + connect(mGroup, TQT_SIGNAL(buttonSet(int)), TQT_SLOT(slotSelectionChanged(int))); } -PickFileRadio::PickFileRadio(const QString& text, QButtonGroup* parent, const char* name) +PickFileRadio::PickFileRadio(const TQString& text, TQButtonGroup* parent, const char* name) : RadioButton(text, parent, name), mGroup(parent), mEdit(0), @@ -58,16 +58,16 @@ PickFileRadio::PickFileRadio(const QString& text, QButtonGroup* parent, const ch Q_ASSERT(parent); } -void PickFileRadio::init(QPushButton* button, LineEdit* edit) +void PickFileRadio::init(TQPushButton* button, LineEdit* edit) { Q_ASSERT(button); mEdit = edit; mButton = button; mButton->setEnabled(false); - connect(mButton, SIGNAL(clicked()), SLOT(slotPickFile())); + connect(mButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotPickFile())); if (mEdit) mEdit->setEnabled(false); - connect(mGroup, SIGNAL(buttonSet(int)), SLOT(slotSelectionChanged(int))); + connect(mGroup, TQT_SIGNAL(buttonSet(int)), TQT_SLOT(slotSelectionChanged(int))); setReadOnly(RadioButton::isReadOnly()); } @@ -85,12 +85,12 @@ void PickFileRadio::setReadOnly(bool ro) } } -void PickFileRadio::setFile(const QString& file) +void PickFileRadio::setFile(const TQString& file) { mFile = file; } -QString PickFileRadio::file() const +TQString PickFileRadio::file() const { return mEdit ? mEdit->text() : mFile; } @@ -165,7 +165,7 @@ void PickFileRadio::slotPickFile() // No file is selected, so revert to the previous radio button selection. // But wait a moment before setting the radio button, or it won't work. mRevertId = true; // prevent picker dialogue popping up twice - QTimer::singleShot(0, this, SLOT(setLastId())); + TQTimer::singleShot(0, this, TQT_SLOT(setLastId())); } } |