summaryrefslogtreecommitdiffstats
path: root/kalarm/pickfileradio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/pickfileradio.cpp')
-rw-r--r--kalarm/pickfileradio.cpp26
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()));
}
}