summaryrefslogtreecommitdiffstats
path: root/kuickshow/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:19 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:29:39 +0900
commit4396343fcc0f4dfd74042cbee01e311f6601f3ac (patch)
tree09ed426853fb47f0e0c0d24bdf2d27200c447ece /kuickshow/src
parent3eed571e596d6f96c676abc5cda6dd2f16756bc2 (diff)
downloadtdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.tar.gz
tdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0e051a3c83fc5e121be7a0497c823ed9546157eb)
Diffstat (limited to 'kuickshow/src')
-rw-r--r--kuickshow/src/filefinder.cpp2
-rw-r--r--kuickshow/src/imagewindow.cpp2
-rw-r--r--kuickshow/src/kuickimage.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kuickshow/src/filefinder.cpp b/kuickshow/src/filefinder.cpp
index 91012ac2..2874db06 100644
--- a/kuickshow/src/filefinder.cpp
+++ b/kuickshow/src/filefinder.cpp
@@ -49,7 +49,7 @@ FileFinder::FileFinder( TQWidget *parent, const char *name )
comp->setReplaceEnv( true );
setCompletionObject( comp, false );
setAutoDeleteCompletionObject( true );
- setFocusPolicy( TQ_ClickFocus );
+ setFocusPolicy( TQWidget::ClickFocus );
TDEConfig *config = TDEGlobal::config();
TDEConfigGroupSaver cs( config, "GeneralConfiguration" );
diff --git a/kuickshow/src/imagewindow.cpp b/kuickshow/src/imagewindow.cpp
index 2c227063..42216dab 100644
--- a/kuickshow/src/imagewindow.cpp
+++ b/kuickshow/src/imagewindow.cpp
@@ -94,7 +94,7 @@ ImageWindow::~ImageWindow()
void ImageWindow::init()
{
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
KCursor::setAutoHideCursor( this, true, true );
KCursor::setHideCursorDelay( 1500 );
diff --git a/kuickshow/src/kuickimage.cpp b/kuickshow/src/kuickimage.cpp
index db8065f9..1c68bdab 100644
--- a/kuickshow/src/kuickimage.cpp
+++ b/kuickshow/src/kuickimage.cpp
@@ -213,8 +213,8 @@ bool KuickImage::smoothResize( int newWidth, int newHeight )
// tqDebug("-- smoothResize: %i x %i", newWidth, newHeight);
TQImage *image = newTQImage();
- // Note: TQ_ScaleMin seems to have a bug (off-by-one, sometimes results in width being 1 pixel too small)
- TQImage scaledImage = image->smoothScale(newWidth, newHeight, TQ_ScaleFree);
+ // Note: TQImage::ScaleMin seems to have a bug (off-by-one, sometimes results in width being 1 pixel too small)
+ TQImage scaledImage = image->smoothScale(newWidth, newHeight, TQImage::ScaleFree);
delete image;