summaryrefslogtreecommitdiffstats
path: root/kdeui/klistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/klistbox.cpp')
-rw-r--r--kdeui/klistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeui/klistbox.cpp b/kdeui/klistbox.cpp
index 73a08b89a..13c5ab325 100644
--- a/kdeui/klistbox.cpp
+++ b/kdeui/klistbox.cpp
@@ -249,14 +249,14 @@ void KListBox::contentsMouseDoubleClickEvent ( TQMouseEvent * e )
if( item ) {
emit doubleClicked( item, e->globalPos() );
- if( (e->button() == LeftButton) && !m_bUseSingle )
+ if( (e->button() == Qt::LeftButton) && !m_bUseSingle )
emitExecute( item, e->globalPos() );
}
}
void KListBox::slotMouseButtonClicked( int btn, TQListBoxItem *item, const TQPoint &pos )
{
- if( (btn == LeftButton) && item )
+ if( (btn == Qt::LeftButton) && item )
emitExecute( item, pos );
}