diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /konq-plugins/kimgalleryplugin | |
parent | 1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff) | |
download | tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konq-plugins/kimgalleryplugin')
-rw-r--r-- | konq-plugins/kimgalleryplugin/imgallerydialog.cpp | 20 | ||||
-rw-r--r-- | konq-plugins/kimgalleryplugin/imgalleryplugin.cpp | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/konq-plugins/kimgalleryplugin/imgallerydialog.cpp b/konq-plugins/kimgalleryplugin/imgallerydialog.cpp index e86dd57..b6be06d 100644 --- a/konq-plugins/kimgalleryplugin/imgallerydialog.cpp +++ b/konq-plugins/kimgalleryplugin/imgallerydialog.cpp @@ -191,8 +191,8 @@ void KIGPDialog::setupDirectoryPage(const TQString& path) { m_imageNameReq = new KURLRequester(path + "images.html", page); label->setBuddy( m_imageNameReq ); dvlay->addWidget(m_imageNameReq); - connect( m_imageNameReq, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(imageUrlChanged(const TQString&)) ); + connect( m_imageNameReq, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(imageUrlChanged(const TQString&)) ); TQWhatsThis::add( m_imageNameReq, whatsThis ); const bool recurseSubDir = m_config->readBoolEntry("RecurseSubDirectories", false); @@ -215,8 +215,8 @@ void KIGPDialog::setupDirectoryPage(const TQString& path) { TQWhatsThis::add( m_recursionLevel, whatsThis ); - connect(m_recurseSubDir, TQT_SIGNAL( toggled(bool) ), - m_recursionLevel, TQT_SLOT( setEnabled(bool) ) ); + connect(m_recurseSubDir, TQ_SIGNAL( toggled(bool) ), + m_recursionLevel, TQ_SLOT( setEnabled(bool) ) ); dvlay->addWidget(m_recurseSubDir); dvlay->addWidget(m_recursionLevel); @@ -262,10 +262,10 @@ void KIGPDialog::setupDirectoryPage(const TQString& path) { dvlay->addWidget(m_commentFileReq); TQWhatsThis::add( m_commentFileReq, whatsThis ); - connect(m_useCommentFile, TQT_SIGNAL(toggled(bool)), - label, TQT_SLOT(setEnabled(bool))); - connect(m_useCommentFile, TQT_SIGNAL(toggled(bool)), - m_commentFileReq, TQT_SLOT(setEnabled(bool))); + connect(m_useCommentFile, TQ_SIGNAL(toggled(bool)), + label, TQ_SLOT(setEnabled(bool))); + connect(m_useCommentFile, TQ_SIGNAL(toggled(bool)), + m_commentFileReq, TQ_SLOT(setEnabled(bool))); dvlay->addStretch(1); } @@ -317,8 +317,8 @@ void KIGPDialog::setupThumbnailPage(const TQString& path) { m_colorDepth->setEnabled(colorDepthSet); hlay4->addWidget( m_colorDepth ); - connect(m_colorDepthSet, TQT_SIGNAL( toggled(bool) ), - m_colorDepth, TQT_SLOT( setEnabled(bool) ) ); + connect(m_colorDepthSet, TQ_SIGNAL( toggled(bool) ), + m_colorDepth, TQ_SLOT( setEnabled(bool) ) ); vlay->addStretch(1); diff --git a/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp b/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp index a4d255c..6d4b6f1 100644 --- a/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp +++ b/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp @@ -52,7 +52,7 @@ KImGalleryPlugin::KImGalleryPlugin( TQObject* parent, const char* name, const TQ : KParts::Plugin( parent, name ), m_commentMap(0) { new TDEAction( i18n( "&Create Image Gallery..." ), "imagegallery", CTRL+Key_I, this, - TQT_SLOT( slotExecute() ), actionCollection(), "create_img_gallery" ); + TQ_SLOT( slotExecute() ), actionCollection(), "create_img_gallery" ); } void KImGalleryPlugin::slotExecute() @@ -82,7 +82,7 @@ void KImGalleryPlugin::slotExecute() KURL url(m_configDlg->getImageName()); if ( !url.isEmpty() && url.isValid()) { m_progressDlg = new TQProgressDialog(m_part->widget(), "progressDlg", true ); - TQObject::connect(m_progressDlg, TQT_SIGNAL( cancelled() ), this, TQT_SLOT( slotCancelled() ) ); + TQObject::connect(m_progressDlg, TQ_SIGNAL( cancelled() ), this, TQ_SLOT( slotCancelled() ) ); m_progressDlg->setLabelText( i18n("Creating thumbnails") ); m_progressDlg->setCancelButton(new KPushButton(KStdGuiItem::cancel(),m_progressDlg)); |