From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/lib/combobox.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kalarm/lib/combobox.cpp') diff --git a/kalarm/lib/combobox.cpp b/kalarm/lib/combobox.cpp index 7e0bea4bd..bb232ffe5 100644 --- a/kalarm/lib/combobox.cpp +++ b/kalarm/lib/combobox.cpp @@ -18,17 +18,17 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include +#include #include "combobox.moc" -ComboBox::ComboBox(QWidget* parent, const char* name) - : QComboBox(parent, name), +ComboBox::ComboBox(TQWidget* parent, const char* name) + : TQComboBox(parent, name), mReadOnly(false) { } -ComboBox::ComboBox(bool rw, QWidget* parent, const char* name) - : QComboBox(rw, parent, name), +ComboBox::ComboBox(bool rw, TQWidget* parent, const char* name) + : TQComboBox(rw, parent, name), mReadOnly(false) { } @@ -42,7 +42,7 @@ void ComboBox::setReadOnly(bool ro) } } -void ComboBox::mousePressEvent(QMouseEvent* e) +void ComboBox::mousePressEvent(TQMouseEvent* e) { if (mReadOnly) { @@ -50,29 +50,29 @@ void ComboBox::mousePressEvent(QMouseEvent* e) if (e->button() == Qt::LeftButton) return; } - QComboBox::mousePressEvent(e); + TQComboBox::mousePressEvent(e); } -void ComboBox::mouseReleaseEvent(QMouseEvent* e) +void ComboBox::mouseReleaseEvent(TQMouseEvent* e) { if (!mReadOnly) - QComboBox::mouseReleaseEvent(e); + TQComboBox::mouseReleaseEvent(e); } -void ComboBox::mouseMoveEvent(QMouseEvent* e) +void ComboBox::mouseMoveEvent(TQMouseEvent* e) { if (!mReadOnly) - QComboBox::mouseMoveEvent(e); + TQComboBox::mouseMoveEvent(e); } -void ComboBox::keyPressEvent(QKeyEvent* e) +void ComboBox::keyPressEvent(TQKeyEvent* e) { if (!mReadOnly || e->key() == Qt::Key_Escape) - QComboBox::keyPressEvent(e); + TQComboBox::keyPressEvent(e); } -void ComboBox::keyReleaseEvent(QKeyEvent* e) +void ComboBox::keyReleaseEvent(TQKeyEvent* e) { if (!mReadOnly) - QComboBox::keyReleaseEvent(e); + TQComboBox::keyReleaseEvent(e); } -- cgit v1.2.1