summaryrefslogtreecommitdiffstats
path: root/lib/koproperty
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty')
-rw-r--r--lib/koproperty/editor.cpp8
-rw-r--r--lib/koproperty/editoritem.cpp4
-rw-r--r--lib/koproperty/editors/pixmapedit.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp
index c6ebe14f1..2a72fdbe6 100644
--- a/lib/koproperty/editor.cpp
+++ b/lib/koproperty/editor.cpp
@@ -931,7 +931,7 @@ Editor::handleKeyPress(TQKeyEvent* ev)
//selection moving
TQListViewItem *item = 0;
- if ( ((s == Qt::NoButton) && (k == Key_Up)) || (k==Key_BackTab) ) {
+ if ( ((s == TQt::NoButton) && (k == Key_Up)) || (k==Key_BackTab) ) {
//find prev visible
item = selectedItem() ? selectedItem()->itemAbove() : 0;
while (item && (!item->isSelectable() || !item->isVisible()))
@@ -939,7 +939,7 @@ Editor::handleKeyPress(TQKeyEvent* ev)
if (!item)
return true;
}
- else if( (s == Qt::NoButton) && ((k == Key_Down) || (k == Key_Tab)) ) {
+ else if( (s == TQt::NoButton) && ((k == Key_Down) || (k == Key_Tab)) ) {
//find next visible
item = selectedItem() ? selectedItem()->itemBelow() : 0;
while (item && (!item->isSelectable() || !item->isVisible()))
@@ -947,7 +947,7 @@ Editor::handleKeyPress(TQKeyEvent* ev)
if (!item)
return true;
}
- else if( (s==Qt::NoButton) && (k==Key_Home) ) {
+ else if( (s==TQt::NoButton) && (k==Key_Home) ) {
if (d->currentWidget && d->currentWidget->hasFocus())
return false;
//find 1st visible
@@ -955,7 +955,7 @@ Editor::handleKeyPress(TQKeyEvent* ev)
while (item && (!item->isSelectable() || !item->isVisible()))
item = item->itemBelow();
}
- else if( (s==Qt::NoButton) && (k==Key_End) ) {
+ else if( (s==TQt::NoButton) && (k==Key_End) ) {
if (d->currentWidget && d->currentWidget->hasFocus())
return false;
//find last visible
diff --git a/lib/koproperty/editoritem.cpp b/lib/koproperty/editoritem.cpp
index d71bcac2f..7c0d7c24f 100644
--- a/lib/koproperty/editoritem.cpp
+++ b/lib/koproperty/editoritem.cpp
@@ -158,7 +158,7 @@ class GroupWidgetBase : public TQWidget
virtual bool event( TQEvent * e ) {
if (e->type()==TQEvent::MouseButtonPress || e->type()==TQEvent::MouseButtonRelease) {
TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
- if (me->button() == Qt::LeftButton) {
+ if (me->button() == TQt::LeftButton) {
m_mouseDown = e->type()==TQEvent::MouseButtonPress;
update();
}
@@ -239,7 +239,7 @@ void GroupContainer::setContents( TQWidget* contents )
bool GroupContainer::event( TQEvent * e ) {
if (e->type()==TQEvent::MouseButtonPress) {
TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
- if (me->button() == Qt::LeftButton && d->contents && d->groupWidget->rect().contains(me->pos())) {
+ if (me->button() == TQt::LeftButton && d->contents && d->groupWidget->rect().contains(me->pos())) {
d->groupWidget->setOpen(!d->groupWidget->isOpen());
if (d->groupWidget->isOpen())
d->contents->show();
diff --git a/lib/koproperty/editors/pixmapedit.cpp b/lib/koproperty/editors/pixmapedit.cpp
index 6fdc5f625..b6454a96c 100644
--- a/lib/koproperty/editors/pixmapedit.cpp
+++ b/lib/koproperty/editors/pixmapedit.cpp
@@ -206,7 +206,7 @@ bool
PixmapEdit::eventFilter(TQObject *o, TQEvent *ev)
{
if(o == m_edit) {
- if(ev->type() == TQEvent::MouseButtonPress && TQT_TQMOUSEEVENT(ev)->button()==Qt::LeftButton) {
+ if(ev->type() == TQEvent::MouseButtonPress && TQT_TQMOUSEEVENT(ev)->button()==TQt::LeftButton) {
if(m_previewPixmap.height() <= m_edit->height()
&& m_previewPixmap.width() <= m_edit->width())
return false;