diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /konq-plugins/microformat/konqmficon.cpp | |
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 <[email protected]>
Diffstat (limited to 'konq-plugins/microformat/konqmficon.cpp')
-rw-r--r-- | konq-plugins/microformat/konqmficon.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/konq-plugins/microformat/konqmficon.cpp b/konq-plugins/microformat/konqmficon.cpp index b0ce649..1a81aa5 100644 --- a/konq-plugins/microformat/konqmficon.cpp +++ b/konq-plugins/microformat/konqmficon.cpp @@ -50,14 +50,14 @@ KonqMFIcon::KonqMFIcon(TQObject *parent, const char *name, const TQStringList &) kdDebug() << "couldn't get part" << endl; return; } - TQTimer::singleShot(0, this, TQT_SLOT(waitPartToLoad())); + TQTimer::singleShot(0, this, TQ_SLOT(waitPartToLoad())); } void KonqMFIcon::waitPartToLoad() { - connect(m_part, TQT_SIGNAL(completed()), this, TQT_SLOT(addMFIcon())); - connect(m_part, TQT_SIGNAL(completed(bool)), this, TQT_SLOT(addMFIcon())); // to make pages with metarefresh to work - connect(m_part, TQT_SIGNAL(started(TDEIO::Job *)), this, TQT_SLOT(removeMFIcon())); + connect(m_part, TQ_SIGNAL(completed()), this, TQ_SLOT(addMFIcon())); + connect(m_part, TQ_SIGNAL(completed(bool)), this, TQ_SLOT(addMFIcon())); // to make pages with metarefresh to work + connect(m_part, TQ_SIGNAL(started(TDEIO::Job *)), this, TQ_SLOT(removeMFIcon())); } @@ -247,7 +247,7 @@ void KonqMFIcon::contextMenu() { delete m_menu; m_menu = new TDEPopupMenu(m_part->widget()); m_menu->insertTitle(i18n("Microformats")); - connect(m_menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(addMF(int))); + connect(m_menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(addMF(int))); int id = 0; for (TQValueList<TQPair<TQString, TQString> >::ConstIterator it = _events.begin(); it != _events.end(); ++it) { m_menu->insertItem(SmallIcon("bookmark_add"), (*it).first, id); @@ -258,7 +258,7 @@ void KonqMFIcon::contextMenu() { id++; } m_menu->insertSeparator(); - m_menu->insertItem(SmallIcon("bookmark_add"), i18n("Import All Microformats"), this, TQT_SLOT(addMFs()), 0, 50000 ); + m_menu->insertItem(SmallIcon("bookmark_add"), i18n("Import All Microformats"), this, TQ_SLOT(addMFs()), 0, 50000 ); m_menu->popup(TQCursor::pos()); } @@ -285,7 +285,7 @@ void KonqMFIcon::addMFIcon() { m_statusBarEx->addStatusBarItem(m_mfIcon, 0, true); - connect(m_mfIcon, TQT_SIGNAL(leftClickedURL()), this, TQT_SLOT(contextMenu())); + connect(m_mfIcon, TQ_SIGNAL(leftClickedURL()), this, TQ_SLOT(contextMenu())); } |