summaryrefslogtreecommitdiffstats
path: root/kaddressbook/imagewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/imagewidget.h')
-rw-r--r--kaddressbook/imagewidget.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kaddressbook/imagewidget.h b/kaddressbook/imagewidget.h
index 02a3577c..82c8426f 100644
--- a/kaddressbook/imagewidget.h
+++ b/kaddressbook/imagewidget.h
@@ -24,8 +24,8 @@
#ifndef IMAGEWIDGET_H
#define IMAGEWIDGET_H
-#include <qlabel.h>
-#include <qpushbutton.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
#include <kabc/picture.h>
#include <kdialogbase.h>
@@ -40,13 +40,13 @@ class ImageLoader : public QObject
Q_OBJECT
public:
- ImageLoader( QWidget *parent );
+ ImageLoader( TQWidget *parent );
KABC::Picture loadPicture( const KURL &url, bool *ok );
private:
KABC::Picture mPicture;
- QWidget *mParent;
+ TQWidget *mParent;
};
/**
@@ -57,7 +57,7 @@ class ImageButton : public QPushButton
Q_OBJECT
public:
- ImageButton( const QString &title, QWidget *parent );
+ ImageButton( const TQString &title, TQWidget *parent );
void setReadOnly( bool readOnly );
@@ -71,11 +71,11 @@ class ImageButton : public QPushButton
void urlDropped( const KURL& );
protected:
- virtual void dragEnterEvent( QDragEnterEvent *event );
- virtual void dropEvent( QDropEvent *event );
- virtual void mouseMoveEvent( QMouseEvent *event );
- virtual void mousePressEvent( QMouseEvent *event );
- virtual void contextMenuEvent( QContextMenuEvent *event );
+ virtual void dragEnterEvent( TQDragEnterEvent *event );
+ virtual void dropEvent( TQDropEvent *event );
+ virtual void mouseMoveEvent( TQMouseEvent *event );
+ virtual void mousePressEvent( TQMouseEvent *event );
+ virtual void contextMenuEvent( TQContextMenuEvent *event );
private slots:
void load();
@@ -86,7 +86,7 @@ class ImageButton : public QPushButton
void updateGUI();
bool mReadOnly;
- QPoint mDragStartPos;
+ TQPoint mDragStartPos;
KABC::Picture mPicture;
ImageLoader *mImageLoader;
@@ -98,7 +98,7 @@ class ImageBaseWidget : public QWidget
Q_OBJECT
public:
- ImageBaseWidget( const QString &title, QWidget *parent, const char *name = 0 );
+ ImageBaseWidget( const TQString &title, TQWidget *parent, const char *name = 0 );
~ImageBaseWidget();
/**
@@ -126,7 +126,7 @@ class ImageBaseWidget : public QWidget
class ImageWidget : public KAB::ContactEditorWidget
{
public:
- ImageWidget( KABC::AddressBook *ab, QWidget *parent, const char *name = 0 );
+ ImageWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
void loadContact( KABC::Addressee *addr );
void storeContact( KABC::Addressee *addr );
@@ -142,12 +142,12 @@ class ImageWidget : public KAB::ContactEditorWidget
class ImageWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, QWidget *parent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
return new ImageWidget( ab, parent, name );
}
- QString pageIdentifier() const { return "misc"; }
+ TQString pageIdentifier() const { return "misc"; }
};
#endif