summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:29:39 +0900
commit4396343fcc0f4dfd74042cbee01e311f6601f3ac (patch)
tree09ed426853fb47f0e0c0d24bdf2d27200c447ece /kghostview
parent3eed571e596d6f96c676abc5cda6dd2f16756bc2 (diff)
downloadtdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.tar.gz
tdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0e051a3c83fc5e121be7a0497c823ed9546157eb)
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/kgv_view.cpp2
-rw-r--r--kghostview/kgvpageview.cpp4
-rw-r--r--kghostview/viewcontrol.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kghostview/kgv_view.cpp b/kghostview/kgv_view.cpp
index 0701c659..1002e123 100644
--- a/kghostview/kgv_view.cpp
+++ b/kghostview/kgv_view.cpp
@@ -109,7 +109,7 @@ KGVPart::KGVPart( TQWidget* parentWidget, const char*,
// Setup main widget
_mainWidget = new KGVMainWidget( parentWidget );
- _mainWidget->setFocusPolicy( TQ_StrongFocus );
+ _mainWidget->setFocusPolicy( TQWidget::StrongFocus );
_mainWidget->installEventFilter( this );
_mainWidget->setAcceptDrops( true );
connect( _mainWidget, TQT_SIGNAL( spacePressed() ),
diff --git a/kghostview/kgvpageview.cpp b/kghostview/kgvpageview.cpp
index f725cf03..121f3afe 100644
--- a/kghostview/kgvpageview.cpp
+++ b/kghostview/kgvpageview.cpp
@@ -27,8 +27,8 @@ KGVPageView::KGVPageView( TQWidget* parent, const char* name )
{
_page = 0;
- setFocusPolicy( TQ_StrongFocus );
- viewport()->setFocusPolicy( TQ_WheelFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
+ viewport()->setFocusPolicy( TQWidget::WheelFocus );
}
void KGVPageView::setPage( TQWidget* page )
diff --git a/kghostview/viewcontrol.cpp b/kghostview/viewcontrol.cpp
index aa46048b..b5256dfa 100644
--- a/kghostview/viewcontrol.cpp
+++ b/kghostview/viewcontrol.cpp
@@ -28,7 +28,7 @@
ViewControl::ViewControl( TQWidget *parent, const char *name )
: TQDialog( parent, name )
{
- setFocusPolicy(TQ_StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
TQBoxLayout *topLayout = new TQVBoxLayout( this, 10 );