summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/contactnotes
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/plugins/contactnotes
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/contactnotes')
-rw-r--r--kopete/plugins/contactnotes/contactnotesedit.cpp2
-rw-r--r--kopete/plugins/contactnotes/contactnotesedit.h1
-rw-r--r--kopete/plugins/contactnotes/contactnotesplugin.cpp4
-rw-r--r--kopete/plugins/contactnotes/contactnotesplugin.h3
4 files changed, 6 insertions, 4 deletions
diff --git a/kopete/plugins/contactnotes/contactnotesedit.cpp b/kopete/plugins/contactnotes/contactnotesedit.cpp
index 782476b9..607c0f17 100644
--- a/kopete/plugins/contactnotes/contactnotesedit.cpp
+++ b/kopete/plugins/contactnotes/contactnotesedit.cpp
@@ -33,7 +33,7 @@ ContactNotesEdit::ContactNotesEdit(Kopete::MetaContact *m,ContactNotesPlugin *p,
TQVBox *w=new TQVBox(this);
w->setSpacing(KDialog::spacingHint());
- m_label = new TQLabel(i18n("Notes about %1:").arg(m->displayName()) , w , "m_label");
+ m_label = new TQLabel(i18n("Notes about %1:").tqarg(m->displayName()) , w , "m_label");
m_linesEdit= new TQTextEdit ( w , "m_linesEdit");
m_linesEdit->setText(p->notes(m));
diff --git a/kopete/plugins/contactnotes/contactnotesedit.h b/kopete/plugins/contactnotes/contactnotesedit.h
index a027b1a8..81b9b71e 100644
--- a/kopete/plugins/contactnotes/contactnotesedit.h
+++ b/kopete/plugins/contactnotes/contactnotesedit.h
@@ -33,6 +33,7 @@ class ContactNotesPlugin;
class ContactNotesEdit : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
ContactNotesEdit(Kopete::MetaContact *m,ContactNotesPlugin *p=0 ,const char *name=0);
~ContactNotesEdit();
diff --git a/kopete/plugins/contactnotes/contactnotesplugin.cpp b/kopete/plugins/contactnotes/contactnotesplugin.cpp
index ce67e663..aaa4ee7a 100644
--- a/kopete/plugins/contactnotes/contactnotesplugin.cpp
+++ b/kopete/plugins/contactnotes/contactnotesplugin.cpp
@@ -29,8 +29,8 @@
typedef KGenericFactory<ContactNotesPlugin> ContactNotesPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kopete_contactnotes, ContactNotesPluginFactory( "kopete_contactnotes" ) )
-ContactNotesPlugin::ContactNotesPlugin( TQObject *parent, const char *name, const TQStringList & /* args */ )
-: Kopete::Plugin( ContactNotesPluginFactory::instance(), parent, name )
+ContactNotesPlugin::ContactNotesPlugin( TQObject *tqparent, const char *name, const TQStringList & /* args */ )
+: Kopete::Plugin( ContactNotesPluginFactory::instance(), tqparent, name )
{
if ( pluginStatic_ )
kdDebug(14302)<<"ContactNotesPlugin::ContactNotesPlugin : plugin already initialized"<<endl;
diff --git a/kopete/plugins/contactnotes/contactnotesplugin.h b/kopete/plugins/contactnotes/contactnotesplugin.h
index 3163d47b..1adadd96 100644
--- a/kopete/plugins/contactnotes/contactnotesplugin.h
+++ b/kopete/plugins/contactnotes/contactnotesplugin.h
@@ -40,11 +40,12 @@ namespace Kopete { class MetaContact; }
class ContactNotesPlugin : public Kopete::Plugin
{
Q_OBJECT
+ TQ_OBJECT
public:
static ContactNotesPlugin *plugin();
- ContactNotesPlugin( TQObject *parent, const char *name, const TQStringList &args );
+ ContactNotesPlugin( TQObject *tqparent, const char *name, const TQStringList &args );
~ContactNotesPlugin();
TQString notes(Kopete::MetaContact *m);