summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
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 );