summaryrefslogtreecommitdiffstats
path: root/kview
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:35:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:35:44 +0900
commitf38a284617689a1364f9cbebb78cf637da0d2c9d (patch)
tree351e3011b85ccb5a5aa863e6f6ac8fb0f2cb38fd /kview
parentfb2267e3bd060fc0f3a0f567a37213d904feacbc (diff)
downloadtdegraphics-f38a284617689a1364f9cbebb78cf637da0d2c9d.tar.gz
tdegraphics-f38a284617689a1364f9cbebb78cf637da0d2c9d.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kview')
-rw-r--r--kview/TODO8
-rw-r--r--kview/modules/presenter/DESIGN10
2 files changed, 9 insertions, 9 deletions
diff --git a/kview/TODO b/kview/TODO
index 2e800234..b336b382 100644
--- a/kview/TODO
+++ b/kview/TODO
@@ -22,7 +22,7 @@
around with internals like the presenter plugin does.
- This would make preloading (and caching) the images possible.
- Caching: currently the canvas doesn't do anything with files while the
- viewer only calls QImage( QByteArray ) or QImage( filename ). Therefor the
+ viewer only calls TQImage( QByteArray ) or TQImage( filename ). Therefor the
Viewer has to cache the loading of images while the canvas would have to
cache the zoomed images and pixmaps.
It would be no problem to make the canvas work on files and bytearrays
@@ -36,12 +36,12 @@
Something like:
class Effect
{
- QString dialogTitle() const = 0;
- QWidget * dialogWidget() = 0;
+ TQString dialogTitle() const = 0;
+ TQWidget * dialogWidget() = 0;
/* @returns whether @ref applyEffect() would create the same image as
* last time or a changed one */
bool changed() const = 0;
- void applyEffect( QImage & ) = 0;
+ void applyEffect( TQImage & ) = 0;
};
- Brightness Adjustment
- Greyscale conversion
diff --git a/kview/modules/presenter/DESIGN b/kview/modules/presenter/DESIGN
index 3b187e78..034a3032 100644
--- a/kview/modules/presenter/DESIGN
+++ b/kview/modules/presenter/DESIGN
@@ -27,15 +27,15 @@ Presenter Plugin:
- keep local copy of downloaded files
- delete local copy on destruction
- API:
- QImage * image();
+ TQImage * image();
KURL url();
- QString file(); //returns local filename or QString::null
+ TQString file(); //returns local filename or TQString::null
- when loading an item from the playlist first ask for a
- QImage, if that's not available ask for a local file, if
+ TQImage, if that's not available ask for a local file, if
that's also not available take the url.
- API:
- QImage * image();
- QString file();
+ TQImage * image();
+ TQString file();
KURL url();
void setRandom(bool);
void randomizeList();