summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/contactnotes
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/contactnotes')
-rw-r--r--kopete/plugins/contactnotes/contactnotesedit.cpp12
-rw-r--r--kopete/plugins/contactnotes/contactnotesedit.h10
-rw-r--r--kopete/plugins/contactnotes/contactnotesplugin.cpp14
-rw-r--r--kopete/plugins/contactnotes/contactnotesplugin.h12
4 files changed, 24 insertions, 24 deletions
diff --git a/kopete/plugins/contactnotes/contactnotesedit.cpp b/kopete/plugins/contactnotes/contactnotesedit.cpp
index f7333c7b..782476b9 100644
--- a/kopete/plugins/contactnotes/contactnotesedit.cpp
+++ b/kopete/plugins/contactnotes/contactnotesedit.cpp
@@ -15,9 +15,9 @@
* *
***************************************************************************/
-#include <qlabel.h>
-#include <qtextedit.h>
-#include <qvbox.h>
+#include <tqlabel.h>
+#include <tqtextedit.h>
+#include <tqvbox.h>
#include <klocale.h>
@@ -31,10 +31,10 @@ ContactNotesEdit::ContactNotesEdit(Kopete::MetaContact *m,ContactNotesPlugin *p,
m_plugin=p;
m_metaContact=m;
- QVBox *w=new QVBox(this);
+ TQVBox *w=new TQVBox(this);
w->setSpacing(KDialog::spacingHint());
- m_label = new QLabel(i18n("Notes about %1:").arg(m->displayName()) , w , "m_label");
- m_linesEdit= new QTextEdit ( w , "m_linesEdit");
+ m_label = new TQLabel(i18n("Notes about %1:").arg(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 20fe7d10..6af9178d 100644
--- a/kopete/plugins/contactnotes/contactnotesedit.h
+++ b/kopete/plugins/contactnotes/contactnotesedit.h
@@ -18,8 +18,8 @@
#ifndef CONTACTNOTESEDIT_H
#define CONTACTNOTESEDIT_H
-#include <qwidget.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqstring.h>
#include <kdialogbase.h>
class QLabel;
@@ -41,13 +41,13 @@ private:
ContactNotesPlugin *m_plugin;
Kopete::MetaContact *m_metaContact;
- QLabel *m_label;
- QTextEdit *m_linesEdit;
+ TQLabel *m_label;
+ TQTextEdit *m_linesEdit;
protected slots: // Protected slots
virtual void slotOk();
signals: // Signals
- void notesChanged(const QString, Kopete::MetaContact*);
+ void notesChanged(const TQString, Kopete::MetaContact*);
};
#endif
diff --git a/kopete/plugins/contactnotes/contactnotesplugin.cpp b/kopete/plugins/contactnotes/contactnotesplugin.cpp
index 5982200f..ce67e663 100644
--- a/kopete/plugins/contactnotes/contactnotesplugin.cpp
+++ b/kopete/plugins/contactnotes/contactnotesplugin.cpp
@@ -29,7 +29,7 @@
typedef KGenericFactory<ContactNotesPlugin> ContactNotesPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kopete_contactnotes, ContactNotesPluginFactory( "kopete_contactnotes" ) )
-ContactNotesPlugin::ContactNotesPlugin( QObject *parent, const char *name, const QStringList & /* args */ )
+ContactNotesPlugin::ContactNotesPlugin( TQObject *parent, const char *name, const TQStringList & /* args */ )
: Kopete::Plugin( ContactNotesPluginFactory::instance(), parent, name )
{
if ( pluginStatic_ )
@@ -37,8 +37,8 @@ ContactNotesPlugin::ContactNotesPlugin( QObject *parent, const char *name, const
else
pluginStatic_ = this;
- KAction *m_actionEdit=new KAction( i18n("&Notes"), "identity", 0, this, SLOT (slotEditInfo()), actionCollection() , "editContactNotes");
- connect ( Kopete::ContactList::self() , SIGNAL( metaContactSelected(bool)) , m_actionEdit , SLOT(setEnabled(bool)));
+ KAction *m_actionEdit=new KAction( i18n("&Notes"), "identity", 0, this, TQT_SLOT (slotEditInfo()), actionCollection() , "editContactNotes");
+ connect ( Kopete::ContactList::self() , TQT_SIGNAL( metaContactSelected(bool)) , m_actionEdit , TQT_SLOT(setEnabled(bool)));
m_actionEdit->setEnabled(Kopete::ContactList::self()->selectedMetaContacts().count()==1 );
setXMLFile("contactnotesui.rc");
@@ -63,18 +63,18 @@ void ContactNotesPlugin::slotEditInfo()
if(!m)
return;
ContactNotesEdit *e=new ContactNotesEdit(m,this);
- connect( e, SIGNAL( notesChanged( const QString, Kopete::MetaContact*) ),this,
- SLOT( setNotes( const QString, Kopete::MetaContact * ) ) );
+ connect( e, TQT_SIGNAL( notesChanged( const TQString, Kopete::MetaContact*) ),this,
+ TQT_SLOT( setNotes( const TQString, Kopete::MetaContact * ) ) );
e->show();
}
-QString ContactNotesPlugin::notes(Kopete::MetaContact *m)
+TQString ContactNotesPlugin::notes(Kopete::MetaContact *m)
{
return m->pluginData( this, "notes" );
}
-void ContactNotesPlugin::setNotes( const QString n, Kopete::MetaContact *m )
+void ContactNotesPlugin::setNotes( const TQString n, Kopete::MetaContact *m )
{
m->setPluginData( this, "notes", n );
}
diff --git a/kopete/plugins/contactnotes/contactnotesplugin.h b/kopete/plugins/contactnotes/contactnotesplugin.h
index c4fb8224..f526070d 100644
--- a/kopete/plugins/contactnotes/contactnotesplugin.h
+++ b/kopete/plugins/contactnotes/contactnotesplugin.h
@@ -18,9 +18,9 @@
#ifndef BABELFISHPLUGIN_H
#define BABELFISHPLUGIN_H
-#include <qobject.h>
-#include <qmap.h>
-#include <qstring.h>
+#include <tqobject.h>
+#include <tqmap.h>
+#include <tqstring.h>
#include "kopeteplugin.h"
@@ -44,14 +44,14 @@ class ContactNotesPlugin : public Kopete::Plugin
public:
static ContactNotesPlugin *plugin();
- ContactNotesPlugin( QObject *parent, const char *name, const QStringList &args );
+ ContactNotesPlugin( TQObject *parent, const char *name, const TQStringList &args );
~ContactNotesPlugin();
- QString notes(Kopete::MetaContact *m);
+ TQString notes(Kopete::MetaContact *m);
public slots:
- void setNotes(const QString n, Kopete::MetaContact *m);
+ void setNotes(const TQString n, Kopete::MetaContact *m);
private:
static ContactNotesPlugin* pluginStatic_;