diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-04 10:28:49 +0900 |
commit | bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe (patch) | |
tree | 8911427e76b2ea1dc7d98cf2a9a0f2da987802b5 /src/kicondialog.cpp | |
parent | 7b0920cd4180823f7a42350d1bdb914d697f4b9c (diff) | |
download | basket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.tar.gz basket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kicondialog.cpp')
-rw-r--r-- | src/kicondialog.cpp | 24 |
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 ); |