diff options
Diffstat (limited to 'digikam/utilities/imageeditor/editor/imageiface.h')
-rw-r--r-- | digikam/utilities/imageeditor/editor/imageiface.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/digikam/utilities/imageeditor/editor/imageiface.h b/digikam/utilities/imageeditor/editor/imageiface.h index 61d752b..70e1a3e 100644 --- a/digikam/utilities/imageeditor/editor/imageiface.h +++ b/digikam/utilities/imageeditor/editor/imageiface.h @@ -25,10 +25,10 @@ #ifndef IMAGEIFACE_H #define IMAGEIFACE_H -// Qt includes. +// TQt includes. -#include <qglobal.h> -#include <qstring.h> +#include <tqglobal.h> +#include <tqstring.h> // KDE includes. @@ -41,11 +41,11 @@ #include "photoinfocontainer.h" #include "digikam_export.h" -#define MAX3(a, b, c) (QMAX(QMAX(a,b),b)) -#define MIN3(a, b, c) (QMIN(QMIN(a,b),b)) +#define MAX3(a, b, c) (TQMAX(TQMAX(a,b),b)) +#define MIN3(a, b, c) (TQMIN(TQMIN(a,b),b)) #define ROUND(x) ((int) ((x) + 0.5)) -class QPaintDevice; +class TQPaintDevice; namespace Digikam { @@ -102,12 +102,12 @@ public: If w == -1 and h == -1, the size is unchanged. Caller is an i18n'ed string that will be shown as the undo/redo action name. */ - void putOriginalImage(const QString &caller, uchar* data, int w=-1, int h=-1); + void putOriginalImage(const TQString &caller, uchar* data, int w=-1, int h=-1); /** Embed the Color Profile we have used in ICC plugin when this option is selected */ - void setEmbeddedICCToOriginalImage(const QString& profilePath); + void setEmbeddedICCToOriginalImage(const TQString& profilePath); /** Replace the data of the current original image selection with the given data. The characteristics of the data must match the characteristics of the current @@ -116,7 +116,7 @@ public: No ownership of the data pointer is assumed. Caller is an i18n'ed string that will be shown as the undo/redo action name. */ - void putImageSelection(const QString &caller, uchar* data); + void putImageSelection(const TQString &caller, uchar* data); /** Replace the stored target preview data with the given data. The characteristics of the data must match the characteristics of the current @@ -132,9 +132,9 @@ public: or target preview (set by putPreviewImage) image. */ - DColor getColorInfoFromOriginalImage(const QPoint& point); - DColor getColorInfoFromPreviewImage(const QPoint& point); - DColor getColorInfoFromTargetPreviewImage(const QPoint& point); + DColor getColorInfoFromOriginalImage(const TQPoint& point); + DColor getColorInfoFromPreviewImage(const TQPoint& point); + DColor getColorInfoFromTargetPreviewImage(const TQPoint& point); /** Original image information.*/ int originalWidth(); @@ -143,9 +143,9 @@ public: bool originalHasAlpha(); /** Original image metadata.*/ - QByteArray getEmbeddedICCFromOriginalImage(); - QByteArray getExifFromOriginalImage(); - QByteArray getIptcFromOriginalImage(); + TQByteArray getEmbeddedICCFromOriginalImage(); + TQByteArray getExifFromOriginalImage(); + TQByteArray getIptcFromOriginalImage(); /** Get photograph information from original image.*/ PhotoInfoContainer getPhotographInformations() const; @@ -179,13 +179,13 @@ public: /** Convert a DImg image to a pixmap for screen using color managemed view if necessary */ - QPixmap convertToPixmap(DImg& img); + TQPixmap convertToPixmap(DImg& img); /** Paint the current target preview image (or the preview image, if putPreviewImage has not been called) on the given paint device. at x|y, with given maximum width and height. */ - void paint(QPaintDevice* device, int x, int y, int w, int h, + void paint(TQPaintDevice* device, int x, int y, int w, int h, bool underExposure=false, bool overExposure=false); private: |