summaryrefslogtreecommitdiffstats
path: root/src/kicondialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 19:52:52 +0900
commit31622296062e9eaafb3429eb84f8780fab22e597 (patch)
tree7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/kicondialog.cpp
parent50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff)
downloadbasket-31622296.tar.gz
basket-31622296.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
Diffstat (limited to 'src/kicondialog.cpp')
-rw-r--r--src/kicondialog.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kicondialog.cpp b/src/kicondialog.cpp
index 4980a89..d2c5592 100644
--- a/src/kicondialog.cpp
+++ b/src/kicondialog.cpp
@@ -118,14 +118,14 @@ void TDEIconDialog::init()
// Hack standard Gui item, as KDevDesigner won't let us
d->ui->browseButton->setText(i18n("&Browse..."));
- connect(d->ui->browseButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotBrowse()));
- connect(d->ui->listBox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotContext(int)));
- connect(d->ui->iconCanvas, TQT_SIGNAL(executed(TQIconViewItem *)), TQT_SLOT(slotOk()));
- connect(d->ui->iconCanvas, TQT_SIGNAL(returnPressed(TQIconViewItem *)), TQT_SLOT(slotOk()));
- connect(d->ui->iconCanvas, TQT_SIGNAL(startLoading(int)), TQT_SLOT(slotStartLoading(int)));
- connect(d->ui->iconCanvas, TQT_SIGNAL(progress(int)), TQT_SLOT(slotProgress(int)));
- connect(d->ui->iconCanvas, TQT_SIGNAL(finished()), TQT_SLOT(slotFinished()));
- connect(this, TQT_SIGNAL(hidden()), d->ui->iconCanvas, TQT_SLOT(stopLoading()));
+ connect(d->ui->browseButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotBrowse()));
+ connect(d->ui->listBox, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotContext(int)));
+ connect(d->ui->iconCanvas, TQ_SIGNAL(executed(TQIconViewItem *)), TQ_SLOT(slotOk()));
+ connect(d->ui->iconCanvas, TQ_SIGNAL(returnPressed(TQIconViewItem *)), TQ_SLOT(slotOk()));
+ connect(d->ui->iconCanvas, TQ_SIGNAL(startLoading(int)), TQ_SLOT(slotStartLoading(int)));
+ connect(d->ui->iconCanvas, TQ_SIGNAL(progress(int)), TQ_SLOT(slotProgress(int)));
+ connect(d->ui->iconCanvas, TQ_SIGNAL(finished()), TQ_SLOT(slotFinished()));
+ connect(this, TQ_SIGNAL(hidden()), d->ui->iconCanvas, TQ_SLOT(stopLoading()));
// NOTE: this must be consistent with the IconType enum (see above)
d->ui->listBox->insertItem(i18n("(All Icons)"));
@@ -443,7 +443,7 @@ void TDEIconButton::init( TDEIconLoader *loader )
mpLoader = loader;
mpDialog = 0L;
- connect(this, TQT_SIGNAL(clicked()), TQT_SLOT(slotChangeIcon()));
+ connect(this, TQ_SIGNAL(clicked()), TQ_SLOT(slotChangeIcon()));
}
TDEIconButton::~TDEIconButton()
@@ -498,7 +498,7 @@ void TDEIconButton::setIcon(const TQString& icon)
if (!mpDialog)
{
mpDialog = new TDEIconDialog(mpLoader, this);
- connect(mpDialog, TQT_SIGNAL(newIconName(const TQString&)), TQT_SLOT(newIconName(const TQString&)));
+ connect(mpDialog, TQ_SIGNAL(newIconName(const TQString&)), TQ_SLOT(newIconName(const TQString&)));
}
}
@@ -512,7 +512,7 @@ void TDEIconButton::setCustomLocation(const TQString &custom)
if (!mpDialog)
{
mpDialog = new TDEIconDialog(mpLoader, this);
- connect(mpDialog, TQT_SIGNAL(newIconName(const TQString&)), TQT_SLOT(newIconName(const TQString&)));
+ connect(mpDialog, TQ_SIGNAL(newIconName(const TQString&)), TQ_SLOT(newIconName(const TQString&)));
}
mpDialog->setCustomLocation(custom);
@@ -529,7 +529,7 @@ void TDEIconButton::slotChangeIcon()
if (!mpDialog)
{
mpDialog = new TDEIconDialog(mpLoader, this);
- connect(mpDialog, TQT_SIGNAL(newIconName(const TQString&)), TQT_SLOT(newIconName(const TQString&)));
+ connect(mpDialog, TQ_SIGNAL(newIconName(const TQString&)), TQ_SLOT(newIconName(const TQString&)));
}
mpDialog->setup( mGroup, mContext, d->m_bStrictIconSize, d->iconSize, mbUser, d->lockUser, d->lockCustom );