summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/combobox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/lib/combobox.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/lib/combobox.cpp')
-rw-r--r--kalarm/lib/combobox.cpp30
1 files changed, 15 insertions, 15 deletions
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 <qlineedit.h>
+#include <tqlineedit.h>
#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);
}