diff options
Diffstat (limited to 'kaddressbook/imagewidget.h')
-rw-r--r-- | kaddressbook/imagewidget.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/kaddressbook/imagewidget.h b/kaddressbook/imagewidget.h index 82c8426f3..52b9c9c6c 100644 --- a/kaddressbook/imagewidget.h +++ b/kaddressbook/imagewidget.h @@ -17,8 +17,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef IMAGEWIDGET_H @@ -35,12 +35,13 @@ /** Small helper class */ -class ImageLoader : public QObject +class ImageLoader : public TQObject { Q_OBJECT + TQ_OBJECT public: - ImageLoader( TQWidget *parent ); + ImageLoader( TQWidget *tqparent ); KABC::Picture loadPicture( const KURL &url, bool *ok ); @@ -52,12 +53,13 @@ class ImageLoader : public QObject /** Small helper class */ -class ImageButton : public QPushButton +class ImageButton : public TQPushButton { Q_OBJECT + TQ_OBJECT public: - ImageButton( const TQString &title, TQWidget *parent ); + ImageButton( const TQString &title, TQWidget *tqparent ); void setReadOnly( bool readOnly ); @@ -93,12 +95,13 @@ class ImageButton : public QPushButton }; -class ImageBaseWidget : public QWidget +class ImageBaseWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - ImageBaseWidget( const TQString &title, TQWidget *parent, const char *name = 0 ); + ImageBaseWidget( const TQString &title, TQWidget *tqparent, const char *name = 0 ); ~ImageBaseWidget(); /** @@ -126,7 +129,7 @@ class ImageBaseWidget : public QWidget class ImageWidget : public KAB::ContactEditorWidget { public: - ImageWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 ); + ImageWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 ); void loadContact( KABC::Addressee *addr ); void storeContact( KABC::Addressee *addr ); @@ -142,9 +145,9 @@ 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( KABC::AddressBook *ab, TQWidget *tqparent, const char *name ) { - return new ImageWidget( ab, parent, name ); + return new ImageWidget( ab, tqparent, name ); } TQString pageIdentifier() const { return "misc"; } |