summaryrefslogtreecommitdiffstats
path: root/kaddressbook/imagewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/imagewidget.cpp')
-rw-r--r--kaddressbook/imagewidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/imagewidget.cpp b/kaddressbook/imagewidget.cpp
index f10bf7b2..2ff5bdef 100644
--- a/kaddressbook/imagewidget.cpp
+++ b/kaddressbook/imagewidget.cpp
@@ -109,7 +109,7 @@ ImageButton::ImageButton( const TQString &title, TQWidget *parent )
{
setAcceptDrops( true );
- connect( this, TQT_SIGNAL( clicked() ), TQT_SLOT( load() ) );
+ connect( this, TQ_SIGNAL( clicked() ), TQ_SLOT( load() ) );
}
void ImageButton::setReadOnly( bool readOnly )
@@ -206,7 +206,7 @@ void ImageButton::mousePressEvent( TQMouseEvent *event )
void ImageButton::mouseMoveEvent( TQMouseEvent *event )
{
- if ( (event->state() & Qt::LeftButton) &&
+ if ( (event->state() & TQt::LeftButton) &&
(event->pos() - mDragStartPos).manhattanLength() >
TDEGlobalSettings::dndEventDelay() ) {
startDrag();
@@ -216,7 +216,7 @@ void ImageButton::mouseMoveEvent( TQMouseEvent *event )
void ImageButton::contextMenuEvent( TQContextMenuEvent *event )
{
TQPopupMenu menu( this );
- menu.insertItem( i18n( "Reset" ), this, TQT_SLOT( clear() ) );
+ menu.insertItem( i18n( "Reset" ), this, TQ_SLOT( clear() ) );
menu.exec( event->globalPos() );
}
@@ -254,7 +254,7 @@ ImageBaseWidget::ImageBaseWidget( const TQString &title,
TQVBoxLayout *topLayout = new TQVBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
- TQGroupBox *box = new TQGroupBox( 0, Qt::Vertical, title, this );
+ TQGroupBox *box = new TQGroupBox( 0, TQt::Vertical, title, this );
TQVBoxLayout *layout = new TQVBoxLayout( box->layout(), KDialog::spacingHint() );
mImageButton = new ImageButton( i18n( "Picture" ), box );
@@ -264,7 +264,7 @@ ImageBaseWidget::ImageBaseWidget( const TQString &title,
topLayout->addWidget( box );
- connect( mImageButton, TQT_SIGNAL( changed() ), TQT_SIGNAL( changed() ) );
+ connect( mImageButton, TQ_SIGNAL( changed() ), TQ_SIGNAL( changed() ) );
}
ImageBaseWidget::~ImageBaseWidget()
@@ -302,8 +302,8 @@ ImageWidget::ImageWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char
mLogoWidget = new ImageBaseWidget( TDEABC::Addressee::logoLabel(), this );
layout->addWidget( mLogoWidget );
- connect( mPhotoWidget, TQT_SIGNAL( changed() ), TQT_SLOT( setModified() ) );
- connect( mLogoWidget, TQT_SIGNAL( changed() ), TQT_SLOT( setModified() ) );
+ connect( mPhotoWidget, TQ_SIGNAL( changed() ), TQ_SLOT( setModified() ) );
+ connect( mLogoWidget, TQ_SIGNAL( changed() ), TQ_SLOT( setModified() ) );
}
void ImageWidget::loadContact( TDEABC::Addressee *addr )