diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kaddressbook/imagewidget.h | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'kaddressbook/imagewidget.h')
-rw-r--r-- | kaddressbook/imagewidget.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kaddressbook/imagewidget.h b/kaddressbook/imagewidget.h index 449790e21..77c26478e 100644 --- a/kaddressbook/imagewidget.h +++ b/kaddressbook/imagewidget.h @@ -43,10 +43,10 @@ class ImageLoader : public TQObject public: ImageLoader( TQWidget *parent ); - KABC::Picture loadPicture( const KURL &url, bool *ok ); + TDEABC::Picture loadPicture( const KURL &url, bool *ok ); private: - KABC::Picture mPicture; + TDEABC::Picture mPicture; TQWidget *mParent; }; @@ -63,8 +63,8 @@ class ImageButton : public TQPushButton void setReadOnly( bool readOnly ); - void setPicture( const KABC::Picture &picture ); - KABC::Picture picture() const; + void setPicture( const TDEABC::Picture &picture ); + TDEABC::Picture picture() const; void setImageLoader( ImageLoader *loader ); @@ -89,7 +89,7 @@ class ImageButton : public TQPushButton bool mReadOnly; TQPoint mDragStartPos; - KABC::Picture mPicture; + TDEABC::Picture mPicture; ImageLoader *mImageLoader; }; @@ -107,12 +107,12 @@ class ImageBaseWidget : public TQWidget /** Sets the photo object. */ - void setImage( const KABC::Picture &photo ); + void setImage( const TDEABC::Picture &photo ); /** Returns a photo object. */ - KABC::Picture image() const; + TDEABC::Picture image() const; void setReadOnly( bool readOnly ); @@ -129,10 +129,10 @@ class ImageBaseWidget : public TQWidget class ImageWidget : public KAB::ContactEditorWidget { public: - ImageWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 ); + ImageWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name = 0 ); - void loadContact( KABC::Addressee *addr ); - void storeContact( KABC::Addressee *addr ); + void loadContact( TDEABC::Addressee *addr ); + void storeContact( TDEABC::Addressee *addr ); void setReadOnly( bool readOnly ); int logicalWidth() const { return 2; } @@ -145,7 +145,7 @@ class ImageWidget : public KAB::ContactEditorWidget class ImageWidgetFactory : public KAB::ContactEditorWidgetFactory { public: - KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name ) + KAB::ContactEditorWidget *createWidget( TDEABC::AddressBook *ab, TQWidget *parent, const char *name ) { return new ImageWidget( ab, parent, name ); } |