summaryrefslogtreecommitdiffstats
path: root/kuickshow
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:39:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:44:25 +0900
commitb93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46 (patch)
treea322378de9225faac7c5226d1aaa01c4bfcdf527 /kuickshow
parent0181791a29594df4dbf38706d0b9ed509b3141f4 (diff)
downloadtdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.tar.gz
tdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kuickshow')
-rw-r--r--kuickshow/src/aboutwidget.cpp2
-rw-r--r--kuickshow/src/defaultswidget.cpp4
-rw-r--r--kuickshow/src/imagewindow.cpp6
-rw-r--r--kuickshow/src/imlibwidget.cpp2
-rw-r--r--kuickshow/src/kuickshow.cpp2
-rw-r--r--kuickshow/src/printing.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/kuickshow/src/aboutwidget.cpp b/kuickshow/src/aboutwidget.cpp
index 72ce1839..d45734ba 100644
--- a/kuickshow/src/aboutwidget.cpp
+++ b/kuickshow/src/aboutwidget.cpp
@@ -39,7 +39,7 @@ AboutWidget::AboutWidget( TQWidget *parent, const char *name )
setFrameStyle( WinPanel | Raised );
- TQGroupBox *gBox = new TQGroupBox( 1,Qt::Horizontal, this);
+ TQGroupBox *gBox = new TQGroupBox( 1,TQt::Horizontal, this);
gBox->setGeometry( 10, 10, width()-20, height()-20 );
gBox->setAlignment( AlignHCenter );
gBox->installEventFilter( this );
diff --git a/kuickshow/src/defaultswidget.cpp b/kuickshow/src/defaultswidget.cpp
index 4746638e..734241ca 100644
--- a/kuickshow/src/defaultswidget.cpp
+++ b/kuickshow/src/defaultswidget.cpp
@@ -42,7 +42,7 @@ DefaultsWidget::DefaultsWidget( TQWidget *parent, const char *name)
// create all the widgets
gbScale = new TQGroupBox( i18n("Scaling"), this );
- gbScale->setColumnLayout( 0, Qt::Horizontal );
+ gbScale->setColumnLayout( 0, TQt::Horizontal );
cbDownScale = new TQCheckBox( i18n("Shrink image to screen size, if larger"),
gbScale, "shrinktoscreen" );
@@ -58,7 +58,7 @@ DefaultsWidget::DefaultsWidget( TQWidget *parent, const char *name)
// --
gbGeometry = new TQGroupBox( i18n("Geometry"), this );
- gbGeometry->setColumnLayout( 0, Qt::Horizontal );
+ gbGeometry->setColumnLayout( 0, TQt::Horizontal );
cbFlipVertically = new TQCheckBox( i18n("Flip vertically"), gbGeometry );
diff --git a/kuickshow/src/imagewindow.cpp b/kuickshow/src/imagewindow.cpp
index 42216dab..70b3ffd2 100644
--- a/kuickshow/src/imagewindow.cpp
+++ b/kuickshow/src/imagewindow.cpp
@@ -630,7 +630,7 @@ void ImageWindow::mousePressEvent( TQMouseEvent *e )
xposPress = xmove;
yposPress = ymove;
- if ( e->button() == Qt::LeftButton ) {
+ if ( e->button() == TQt::LeftButton ) {
if ( e->state() & ShiftButton )
updateCursor( ZoomCursor );
else
@@ -675,7 +675,7 @@ void ImageWindow::updateCursor( KuickCursor cursor )
void ImageWindow::mouseMoveEvent( TQMouseEvent *e )
{
- if ( !(e->state() & Qt::LeftButton) ) { // only handle LeftButton actions
+ if ( !(e->state() & TQt::LeftButton) ) { // only handle LeftButton actions
return;
}
@@ -736,7 +736,7 @@ void ImageWindow::mouseReleaseEvent( TQMouseEvent *e )
}
// only proceed if shift-Key is still pressed
- if ( !(e->button() == Qt::LeftButton && e->state() & ShiftButton) )
+ if ( !(e->button() == TQt::LeftButton && e->state() & ShiftButton) )
return;
int neww, newh, topX, topY, botX, botY;
diff --git a/kuickshow/src/imlibwidget.cpp b/kuickshow/src/imlibwidget.cpp
index 530875e8..033d73db 100644
--- a/kuickshow/src/imlibwidget.cpp
+++ b/kuickshow/src/imlibwidget.cpp
@@ -320,7 +320,7 @@ bool ImlibWidget::autoRotate( KuickImage *kuim )
switch ( metaitem.value().toInt() )
{
- // Qt::Orientation:
+ // Orientation:
// 1: normal
// 2: flipped horizontally
// 3: ROT 180
diff --git a/kuickshow/src/kuickshow.cpp b/kuickshow/src/kuickshow.cpp
index a67cfc79..091e2964 100644
--- a/kuickshow/src/kuickshow.cpp
+++ b/kuickshow/src/kuickshow.cpp
@@ -1037,7 +1037,7 @@ bool KuickShow::eventFilter( TQObject *o, TQEvent *e )
else if ( eventType == TQEvent::MouseButtonDblClick )
{
TQMouseEvent *ev = TQT_TQMOUSEEVENT( e );
- if ( ev->button() == Qt::LeftButton )
+ if ( ev->button() == TQt::LeftButton )
{
if ( s_viewers.count() == 1 )
{
diff --git a/kuickshow/src/printing.cpp b/kuickshow/src/printing.cpp
index 2f1fd700..feefec43 100644
--- a/kuickshow/src/printing.cpp
+++ b/kuickshow/src/printing.cpp
@@ -93,7 +93,7 @@ bool Printing::printImageWithTQt( const TQString& filename, KPrinter& printer,
// Black & white print?
if ( printer.option( "app-kuickshow-blackwhite" ) != f) {
- image = image.convertDepth( 1, Qt::MonoOnly | Qt::ThresholdDither | Qt::AvoidDither );
+ image = image.convertDepth( 1, TQt::MonoOnly | TQt::ThresholdDither | TQt::AvoidDither );
}
int filenameOffset = 0;