diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/editors/imeditorwidget.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/editors/imeditorwidget.h')
-rw-r--r-- | kaddressbook/editors/imeditorwidget.h | 28 |
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 |