diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /kaddressbook/imagewidget.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/imagewidget.cpp')
-rw-r--r-- | kaddressbook/imagewidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/imagewidget.cpp b/kaddressbook/imagewidget.cpp index b20fbfd41..2ff5bdef4 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 ) @@ -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() ); } @@ -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 ) |