summaryrefslogtreecommitdiffstats
path: root/konq-plugins/microformat/konqmficon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/microformat/konqmficon.cpp')
-rw-r--r--konq-plugins/microformat/konqmficon.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/konq-plugins/microformat/konqmficon.cpp b/konq-plugins/microformat/konqmficon.cpp
index 9dfa53c..1816b08 100644
--- a/konq-plugins/microformat/konqmficon.cpp
+++ b/konq-plugins/microformat/konqmficon.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "konqmficon.h"
@@ -41,11 +41,11 @@ typedef KGenericFactory<KonqMFIcon> KonqMFIconFactory;
K_EXPORT_COMPONENT_FACTORY(libmfkonqmficon,
KonqMFIconFactory("mfkonqmficon"))
-KonqMFIcon::KonqMFIcon(TQObject *parent, const char *name, const TQStringList &)
-: KParts::Plugin(parent, name), PluginBase(), m_part(0), m_mfIcon(0), m_statusBarEx(0), m_menu(0) {
+KonqMFIcon::KonqMFIcon(TQObject *tqparent, const char *name, const TQStringList &)
+: KParts::Plugin(tqparent, name), PluginBase(), m_part(0), m_mfIcon(0), m_statusBarEx(0), m_menu(0) {
KGlobal::locale()->insertCatalogue("mf_konqplugin");
- m_part = dynamic_cast<KHTMLPart*>(parent);
+ m_part = dynamic_cast<KHTMLPart*>(tqparent);
if (!m_part) {
kdDebug() << "couldn't get part" << endl;
return;
@@ -157,7 +157,7 @@ void KonqMFIcon::extractCard(DOM::Node node) {
if (!name.isEmpty()) {
value += "END:VCARD\n";
- _cards.append(qMakePair(name, value));
+ _cards.append(tqMakePair(name, value));
}
}
@@ -202,7 +202,7 @@ void KonqMFIcon::extractEvent(DOM::Node node) {
if (!name.isEmpty()) {
value += "END:VEVENT\nEND:VCALENDAR\n";
- _events.append(qMakePair(name, value));
+ _events.append(tqMakePair(name, value));
}
}
@@ -249,11 +249,11 @@ void KonqMFIcon::contextMenu() {
m_menu->insertTitle(i18n("Microformats"));
connect(m_menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(addMF(int)));
int id = 0;
- for (TQValueList<QPair<TQString, TQString> >::ConstIterator it = _events.begin(); it != _events.end(); ++it) {
+ for (TQValueList<TQPair<TQString, TQString> >::ConstIterator it = _events.begin(); it != _events.end(); ++it) {
m_menu->insertItem(SmallIcon("bookmark_add"), (*it).first, id);
id++;
}
- for (TQValueList<QPair<TQString, TQString> >::ConstIterator it = _cards.begin(); it != _cards.end(); ++it) {
+ for (TQValueList<TQPair<TQString, TQString> >::ConstIterator it = _cards.begin(); it != _cards.end(); ++it) {
m_menu->insertItem(SmallIcon("bookmark_add"), (*it).first, id);
id++;
}
@@ -275,7 +275,7 @@ void KonqMFIcon::addMFIcon() {
m_mfIcon = new KURLLabel(m_statusBarEx->statusBar());
m_mfIcon->setFixedHeight(instance()->iconLoader()->currentSize(KIcon::Small));
- m_mfIcon->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
+ m_mfIcon->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
m_mfIcon->setUseCursor(false);
//FIXME hackish
m_mfIcon->setPixmap(TQPixmap(locate("data", "microformat/pics/microformat.png")));