summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kimgalleryplugin
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 10:35:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 20:23:16 +0900
commite234565531cd8c11949cc6aecf16179e75312458 (patch)
tree90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /konq-plugins/kimgalleryplugin
parentbe3456c5d953fb877340a51b2ef699be6b3c7c02 (diff)
downloadtdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz
tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'konq-plugins/kimgalleryplugin')
-rw-r--r--konq-plugins/kimgalleryplugin/imgallerydialog.cpp20
-rw-r--r--konq-plugins/kimgalleryplugin/imgalleryplugin.cpp4
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));