From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaddressbook/editors/imeditorwidget.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kaddressbook/editors/imeditorwidget.h') 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 +#include #include #include @@ -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 availableProtocols() const; + TQValueList 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 mChangedProtocols; - QValueList mProtocols; + TQValueList mChangedProtocols; + TQValueList 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 -- cgit v1.2.1