summaryrefslogtreecommitdiffstats
path: root/kaddressbook/editors/imeditorwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/editors/imeditorwidget.h')
-rw-r--r--kaddressbook/editors/imeditorwidget.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kaddressbook/editors/imeditorwidget.h b/kaddressbook/editors/imeditorwidget.h
index 441db257b..0184ccca4 100644
--- a/kaddressbook/editors/imeditorwidget.h
+++ b/kaddressbook/editors/imeditorwidget.h
@@ -25,7 +25,7 @@
#ifndef IMEDITORWIDGET_H
#define IMEDITORWIDGET_H
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <klistview.h>
#include <kdialogbase.h>
@@ -51,15 +51,15 @@ class IMEditorWidget : public KDialogBase
Q_OBJECT
public:
- IMEditorWidget( QWidget *parent, const QString &preferredIM, const char *name = 0 );
+ IMEditorWidget( TQWidget *parent, const TQString &preferredIM, const char *name = 0 );
~IMEditorWidget() {};
void loadContact( KABC::Addressee *addr );
void storeContact( KABC::Addressee *addr );
void setReadOnly( bool readOnly );
- QValueList<KPluginInfo *> availableProtocols() const;
+ TQValueList<KPluginInfo *> availableProtocols() const;
bool isModified() const;
- QString preferred() const;
+ TQString preferred() const;
protected slots:
void slotUpdateButtons();
@@ -72,23 +72,23 @@ class IMEditorWidget : public KDialogBase
/**
* Helper method to split the contents of an addressbook field up
*/
- static void splitField( const QString &str, QString &app, QString &name, QString &value );
+ static void splitField( const TQString &str, TQString &app, TQString &name, TQString &value );
/**
* Find a protocol that matches the KABC key, or 0 if none found
*/
- KPluginInfo * protocolFromString( const QString &fieldValue ) const;
+ KPluginInfo * protocolFromString( const TQString &fieldValue ) const;
private:
bool mReadOnly;
bool mModified;
- QString mPreferred;
+ TQString mPreferred;
IMEditorBase *mWidget;
void setModified( bool modified );
// Used to track changed protocols to reduce KABC writes
- QValueList<KPluginInfo *> mChangedProtocols;
- QValueList<KPluginInfo *> mProtocols;
+ TQValueList<KPluginInfo *> mChangedProtocols;
+ TQValueList<KPluginInfo *> mProtocols;
};
/**
@@ -100,28 +100,28 @@ class IMAddressLVI : public KListViewItem
{
public:
IMAddressLVI( KListView *parent, KPluginInfo * protocol,
- const QString &address, const IMContext &context = Any );
+ const TQString &address, const IMContext &context = Any );
- void setAddress( const QString &address );
+ void setAddress( const TQString &address );
void setProtocol( KPluginInfo * protocol );
void setContext( const IMContext &context );
void activate();
KPluginInfo * protocol() const;
- QString address() const;
+ TQString address() const;
IMContext context() const;
void setPreferred( bool preferred );
bool preferred() const;
protected:
- virtual void paintCell( QPainter *p, const QColorGroup &cg, int column, int width, int alignment );
+ virtual void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment );
private:
KPluginInfo * mProtocol;
bool mPreferred;
IMContext mContext;
- QString mAddress;
+ TQString mAddress;
};
#endif