summaryrefslogtreecommitdiffstats
path: root/digikam/libs/widgets/imageplugins/imagepanelwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/libs/widgets/imageplugins/imagepanelwidget.h')
-rw-r--r--digikam/libs/widgets/imageplugins/imagepanelwidget.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/digikam/libs/widgets/imageplugins/imagepanelwidget.h b/digikam/libs/widgets/imageplugins/imagepanelwidget.h
index 85f7c7ae..716e8e44 100644
--- a/digikam/libs/widgets/imageplugins/imagepanelwidget.h
+++ b/digikam/libs/widgets/imageplugins/imagepanelwidget.h
@@ -24,12 +24,12 @@
#ifndef IMAGEPANELWIDGET_H
#define IMAGEPANELWIDGET_H
-// Qt includes.
+// TQt includes.
-#include <qwidget.h>
-#include <qimage.h>
-#include <qrect.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqimage.h>
+#include <tqrect.h>
+#include <tqstring.h>
// Local includes.
@@ -45,9 +45,10 @@ class ImagePanelWidgetPriv;
class ImageRegionWidget;
class ImagePanIconWidget;
-class DIGIKAM_EXPORT ImagePanelWidget : public QWidget
+class DIGIKAM_EXPORT ImagePanelWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
@@ -60,19 +61,19 @@ public:
public:
- ImagePanelWidget(uint w, uint h, const QString& settingsSection, ImagePanIconWidget *pan,
- QWidget *parent=0, int separateViewMode=SeparateViewAll);
+ ImagePanelWidget(uint w, uint h, const TQString& settingsSection, ImagePanIconWidget *pan,
+ TQWidget *tqparent=0, int separateViewMode=SeparateViewAll);
~ImagePanelWidget();
- QRect getOriginalImageRegion();
- QRect getOriginalImageRegionToRender();
+ TQRect getOriginalImageRegion();
+ TQRect getOriginalImageRegionToRender();
DImg getOriginalRegionImage();
void setPreviewImage(DImg img);
void setCenterImageRegionPosition();
void setEnable(bool b);
- void setPanIconHighLightPoints(const QPointArray& pt);
+ void setPanIconHighLightPoints(const TQPointArray& pt);
void writeSettings();
@@ -86,14 +87,14 @@ signals:
public slots:
// Set the top/Left conner clip position.
- void slotSetImageRegionPosition(const QRect& rect, bool targetDone);
+ void slotSetImageRegionPosition(const TQRect& rect, bool targetDone);
// Slot used when the original image clip focus is changed by the user.
void slotOriginalImageRegionChanged(bool target);
protected:
- void resizeEvent(QResizeEvent *e);
+ void resizeEvent(TQResizeEvent *e);
private slots:
@@ -103,7 +104,7 @@ private slots:
private:
- void updateSelectionInfo(const QRect& rect);
+ void updateSelectionInfo(const TQRect& rect);
void readSettings();
private: