diff options
Diffstat (limited to 'kaddressbook/imagewidget.cpp')
-rw-r--r-- | kaddressbook/imagewidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/imagewidget.cpp b/kaddressbook/imagewidget.cpp index 0dc83ae49..b4219322c 100644 --- a/kaddressbook/imagewidget.cpp +++ b/kaddressbook/imagewidget.cpp @@ -206,7 +206,7 @@ void ImageButton::mousePressEvent( TQMouseEvent *event ) void ImageButton::mouseMoveEvent( TQMouseEvent *event ) { - if ( (event->state() & LeftButton) && + if ( (event->state() & Qt::LeftButton) && (event->pos() - mDragStartPos).manhattanLength() > KGlobalSettings::dndEventDelay() ) { startDrag(); @@ -254,7 +254,7 @@ ImageBaseWidget::ImageBaseWidget( const TQString &title, TQVBoxLayout *topLayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); - TQGroupBox *box = new TQGroupBox( 0, TQt::Vertical, title, this ); + TQGroupBox *box = new TQGroupBox( 0, Qt::Vertical, title, this ); TQVBoxLayout *tqlayout = new TQVBoxLayout( box->tqlayout(), KDialog::spacingHint() ); mImageButton = new ImageButton( i18n( "Picture" ), box ); |