summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/fullscreenfilter.cpp14
-rw-r--r--kghostview/fullscreenfilter.h4
-rw-r--r--kghostview/infodialog.cpp4
-rw-r--r--kghostview/infodialog.h2
-rw-r--r--kghostview/kdscerrordialog.cpp4
-rw-r--r--kghostview/kdscerrordialog.h2
-rw-r--r--kghostview/kgv_miniwidget.cpp2
-rw-r--r--kghostview/kgv_view.cpp10
-rw-r--r--kghostview/kgv_view.h4
-rw-r--r--kghostview/kgvdocument.cpp4
-rw-r--r--kghostview/kgvdocument.h2
-rw-r--r--kghostview/kgvfactory.cpp4
-rw-r--r--kghostview/kgvfactory.h2
-rw-r--r--kghostview/kgvmainwidget.cpp4
-rw-r--r--kghostview/kgvmainwidget.h2
-rw-r--r--kghostview/kgvpagedecorator.cpp4
-rw-r--r--kghostview/kgvpagedecorator.h6
-rw-r--r--kghostview/kgvpageview.cpp4
-rw-r--r--kghostview/kgvpageview.h2
-rw-r--r--kghostview/kpswidget.cpp4
-rw-r--r--kghostview/kpswidget.h2
-rw-r--r--kghostview/logwindow.cpp4
-rw-r--r--kghostview/logwindow.h2
-rw-r--r--kghostview/marklist.cpp8
-rw-r--r--kghostview/marklist.h4
-rw-r--r--kghostview/scrollbox.cpp4
-rw-r--r--kghostview/scrollbox.h2
-rw-r--r--kghostview/thumbnailservice.cpp8
-rw-r--r--kghostview/thumbnailservice.h2
-rw-r--r--kghostview/viewcontrol.cpp4
-rw-r--r--kghostview/viewcontrol.h2
31 files changed, 63 insertions, 63 deletions
diff --git a/kghostview/fullscreenfilter.cpp b/kghostview/fullscreenfilter.cpp
index 9efe8a6c..c1d5117f 100644
--- a/kghostview/fullscreenfilter.cpp
+++ b/kghostview/fullscreenfilter.cpp
@@ -22,16 +22,16 @@
#include "kgv_miniwidget.h"
#include "kgvpageview.h"
-FullScreenFilter::FullScreenFilter( KGVShell& tqparent )
- :TQObject( &tqparent, "full-screen-filter" ),
- tqparent( tqparent )
+FullScreenFilter::FullScreenFilter( KGVShell& parent )
+ :TQObject( &parent, "full-screen-filter" ),
+ parent( parent )
{
}
bool FullScreenFilter::eventFilter( TQObject* /*object*/, TQEvent* ev) {
if ( TQKeyEvent* keyevent = dynamic_cast<TQKeyEvent*>( ev ) ) {
if ( keyevent->key() == Key_Escape ) {
- tqparent.setFullScreen( false );
+ parent.setFullScreen( false );
keyevent->accept();
return true;
}
@@ -39,9 +39,9 @@ bool FullScreenFilter::eventFilter( TQObject* /*object*/, TQEvent* ev) {
if ( TQMouseEvent* mouseevent = dynamic_cast<TQMouseEvent*>( ev ) ) {
if ( mouseevent->stateAfter() & mouseevent->button() & Qt::LeftButton ) {
// if ( The whole image is visible at once )
- if ( tqparent.m_gvpart->pageView()->contentsHeight() <= tqparent.m_gvpart->widget()->height() &&
- tqparent.m_gvpart->pageView()->contentsWidth() <= tqparent.m_gvpart->widget()->width() ) {
- tqparent.m_gvpart->miniWidget()->nextPage();
+ if ( parent.m_gvpart->pageView()->contentsHeight() <= parent.m_gvpart->widget()->height() &&
+ parent.m_gvpart->pageView()->contentsWidth() <= parent.m_gvpart->widget()->width() ) {
+ parent.m_gvpart->miniWidget()->nextPage();
mouseevent->accept();
return true;
}
diff --git a/kghostview/fullscreenfilter.h b/kghostview/fullscreenfilter.h
index 4a175c25..c6e72f87 100644
--- a/kghostview/fullscreenfilter.h
+++ b/kghostview/fullscreenfilter.h
@@ -30,14 +30,14 @@ class FullScreenFilter : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
- FullScreenFilter( KGVShell& tqparent );
+ FullScreenFilter( KGVShell& parent );
/**
* @reimplemented
*/
virtual bool eventFilter( TQObject*, TQEvent* );
private:
- KGVShell& tqparent;
+ KGVShell& parent;
};
diff --git a/kghostview/infodialog.cpp b/kghostview/infodialog.cpp
index d65348ef..431a0ed7 100644
--- a/kghostview/infodialog.cpp
+++ b/kghostview/infodialog.cpp
@@ -32,8 +32,8 @@
//
// Using KDialogBase in message box mode (gives centered action button)
//
-InfoDialog::InfoDialog( TQWidget *tqparent, const char *name, bool modal )
- :KDialogBase( i18n("Document Information"), Yes, Yes, Yes, tqparent,
+InfoDialog::InfoDialog( TQWidget *parent, const char *name, bool modal )
+ :KDialogBase( i18n("Document Information"), Yes, Yes, Yes, parent,
name, modal, true, KStdGuiItem::ok() )
{
TQFrame *page = makeMainWidget();
diff --git a/kghostview/infodialog.h b/kghostview/infodialog.h
index 8b295b88..af35e997 100644
--- a/kghostview/infodialog.h
+++ b/kghostview/infodialog.h
@@ -30,7 +30,7 @@ class InfoDialog : public KDialogBase
TQ_OBJECT
public:
- InfoDialog( TQWidget *tqparent=0, const char *name=0, bool modal=true );
+ InfoDialog( TQWidget *parent=0, const char *name=0, bool modal=true );
void setup( const TQString &fileName, const TQString &documentTitle,
const TQString &publicationDate );
diff --git a/kghostview/kdscerrordialog.cpp b/kghostview/kdscerrordialog.cpp
index b219a061..e831cbcd 100644
--- a/kghostview/kdscerrordialog.cpp
+++ b/kghostview/kdscerrordialog.cpp
@@ -46,8 +46,8 @@ KDSCErrorHandler::Response KDSCErrorThreshold::error( const KDSCError& err )
return Cancel;
}
-KDSCErrorDialog::KDSCErrorDialog( TQWidget* tqparent ) :
- KDialog( tqparent, "dscerrordialog", true ),
+KDSCErrorDialog::KDSCErrorDialog( TQWidget* parent ) :
+ KDialog( parent, "dscerrordialog", true ),
_response( Ok )
{
TQVBoxLayout* vbox = new TQVBoxLayout( this, marginHint(), spacingHint() );
diff --git a/kghostview/kdscerrordialog.h b/kghostview/kdscerrordialog.h
index 27f948c5..7b9d7cef 100644
--- a/kghostview/kdscerrordialog.h
+++ b/kghostview/kdscerrordialog.h
@@ -45,7 +45,7 @@ class KDSCErrorDialog : public KDialog, public KDSCErrorHandler
TQ_OBJECT
public:
- KDSCErrorDialog( TQWidget* tqparent = 0 );
+ KDSCErrorDialog( TQWidget* parent = 0 );
Response error( const KDSCError& );
diff --git a/kghostview/kgv_miniwidget.cpp b/kghostview/kgv_miniwidget.cpp
index 115434b9..5c17fc19 100644
--- a/kghostview/kgv_miniwidget.cpp
+++ b/kghostview/kgv_miniwidget.cpp
@@ -384,7 +384,7 @@ void KGVMiniWidget::showPage( int pagenumber )
kdDebug(4500) << "KGVMiniWidget::showPage( " << pagenumber << " )" << endl;
- TQT_TQWIDGET( _psWidget->tqparent() )->show();
+ TQT_TQWIDGET( _psWidget->parent() )->show();
_psWidget->setFileName(_document->fileName(), dsc()->isStructured() );
_psWidget->clear();
diff --git a/kghostview/kgv_view.cpp b/kghostview/kgv_view.cpp
index dc457516..e8edace1 100644
--- a/kghostview/kgv_view.cpp
+++ b/kghostview/kgv_view.cpp
@@ -75,9 +75,9 @@ namespace KGV {
}
KGVPart::KGVPart( TQWidget* parentWidget, const char*,
- TQObject* tqparent, const char* name,
+ TQObject* parent, const char* name,
const TQStringList &args ) :
- KParts::ReadOnlyPart( tqparent, name ),
+ KParts::ReadOnlyPart( parent, name ),
_fitTimer( new TQTimer( this ) ),
_job( 0 ),
_mimetypeScanner( 0 ),
@@ -979,8 +979,8 @@ void KGVPart::setDisplayOptions( const DisplayOptions& options )
}
-KGVBrowserExtension::KGVBrowserExtension( KGVPart *tqparent ) :
- KParts::BrowserExtension( tqparent, "KGVBrowserExtension" )
+KGVBrowserExtension::KGVBrowserExtension( KGVPart *parent ) :
+ KParts::BrowserExtension( parent, "KGVBrowserExtension" )
{
emit enableAction( "print", true );
setURLDropHandlingEnabled( true );
@@ -988,7 +988,7 @@ KGVBrowserExtension::KGVBrowserExtension( KGVPart *tqparent ) :
void KGVBrowserExtension::print()
{
- ((KGVPart *)tqparent())->document()->print();
+ ((KGVPart *)parent())->document()->print();
}
diff --git a/kghostview/kgv_view.h b/kghostview/kgv_view.h
index a752353c..f3fe468f 100644
--- a/kghostview/kgv_view.h
+++ b/kghostview/kgv_view.h
@@ -58,7 +58,7 @@ class KGVPart: public KParts::ReadOnlyPart
TQ_OBJECT
public:
KGVPart( TQWidget* parentWidget, const char* widgetName,
- TQObject* tqparent, const char* name,
+ TQObject* parent, const char* name,
const TQStringList& args = TQStringList() );
virtual ~KGVPart();
@@ -234,7 +234,7 @@ class KGVBrowserExtension : public KParts::BrowserExtension
TQ_OBJECT
friend class KGVPart; // emits our signals
public:
- KGVBrowserExtension( KGVPart* tqparent );
+ KGVBrowserExtension( KGVPart* parent );
virtual ~KGVBrowserExtension() {}
public slots:
diff --git a/kghostview/kgvdocument.cpp b/kghostview/kgvdocument.cpp
index 9d314596..89cd7948 100644
--- a/kghostview/kgvdocument.cpp
+++ b/kghostview/kgvdocument.cpp
@@ -801,8 +801,8 @@ void KGVDocument::pdf2psExited( KProcess* process )
}
*/
-Pdf2dsc::Pdf2dsc( const TQString& ghostscriptPath, TQObject* tqparent, const char* name ) :
- TQObject( tqparent, name ),
+Pdf2dsc::Pdf2dsc( const TQString& ghostscriptPath, TQObject* parent, const char* name ) :
+ TQObject( parent, name ),
_process( 0 ),
_ghostscriptPath( ghostscriptPath )
{}
diff --git a/kghostview/kgvdocument.h b/kghostview/kgvdocument.h
index dc68765b..5194dc7d 100644
--- a/kghostview/kgvdocument.h
+++ b/kghostview/kgvdocument.h
@@ -163,7 +163,7 @@ class Pdf2dsc : public TQObject
TQ_OBJECT
public:
- Pdf2dsc( const TQString& ghostscriptPath, TQObject* tqparent = 0, const char* name = 0 );
+ Pdf2dsc( const TQString& ghostscriptPath, TQObject* parent = 0, const char* name = 0 );
~Pdf2dsc();
void run( const TQString& pdfName, const TQString& dscName );
diff --git a/kghostview/kgvfactory.cpp b/kghostview/kgvfactory.cpp
index 6bf3e213..3309a15e 100644
--- a/kghostview/kgvfactory.cpp
+++ b/kghostview/kgvfactory.cpp
@@ -53,7 +53,7 @@ KInstance *KGVFactory::s_instance;
KAboutData *KGVFactory::s_aboutData;
KParts::Part *KGVFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const char *className,
const TQStringList &args_ )
{
@@ -70,7 +70,7 @@ KParts::Part *KGVFactory::createPartObject( TQWidget *parentWidget, const char *
}
KGVPart *part = KDEPrivate::ConcreteFactory<KGVPart>::create( parentWidget,
widgetName,
- tqparent,
+ parent,
name,
className,
args );
diff --git a/kghostview/kgvfactory.h b/kghostview/kgvfactory.h
index 664a2656..9a5d507f 100644
--- a/kghostview/kgvfactory.h
+++ b/kghostview/kgvfactory.h
@@ -34,7 +34,7 @@ class KDE_EXPORT KGVFactory : public KParts::Factory
static KAboutData *aboutData();
virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const char *className,
const TQStringList &args );
diff --git a/kghostview/kgvmainwidget.cpp b/kghostview/kgvmainwidget.cpp
index 49823ad0..5e9bd40b 100644
--- a/kghostview/kgvmainwidget.cpp
+++ b/kghostview/kgvmainwidget.cpp
@@ -20,8 +20,8 @@
#include <kurl.h>
#include <kurldrag.h>
-KGVMainWidget::KGVMainWidget( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name ) {}
+KGVMainWidget::KGVMainWidget( TQWidget* parent, const char* name )
+ : TQWidget( parent, name ) {}
void KGVMainWidget::keyPressEvent( TQKeyEvent* event )
{
diff --git a/kghostview/kgvmainwidget.h b/kghostview/kgvmainwidget.h
index 0aa464d3..df280887 100644
--- a/kghostview/kgvmainwidget.h
+++ b/kghostview/kgvmainwidget.h
@@ -29,7 +29,7 @@ class KGVMainWidget : public TQWidget
TQ_OBJECT
public:
- KGVMainWidget( TQWidget* tqparent = 0, const char* name = 0 );
+ KGVMainWidget( TQWidget* parent = 0, const char* name = 0 );
signals:
void spacePressed();
diff --git a/kghostview/kgvpagedecorator.cpp b/kghostview/kgvpagedecorator.cpp
index d7ea7e0d..a549d95d 100644
--- a/kghostview/kgvpagedecorator.cpp
+++ b/kghostview/kgvpagedecorator.cpp
@@ -23,8 +23,8 @@
#include "kgvpagedecorator.h"
-KGVPageDecorator::KGVPageDecorator( TQWidget* tqparent, const char* name ) :
- TQHBox( tqparent, name ),
+KGVPageDecorator::KGVPageDecorator( TQWidget* parent, const char* name ) :
+ TQHBox( parent, name ),
_margin( 5 ),
_borderWidth( 1 ),
_shadowOffset( 2, 2 )
diff --git a/kghostview/kgvpagedecorator.h b/kghostview/kgvpagedecorator.h
index 546063bf..d3942afc 100644
--- a/kghostview/kgvpagedecorator.h
+++ b/kghostview/kgvpagedecorator.h
@@ -24,7 +24,7 @@
class KGVPageDecorator : public TQHBox
{
public:
- KGVPageDecorator( TQWidget* tqparent = 0, const char* name = 0 );
+ KGVPageDecorator( TQWidget* parent = 0, const char* name = 0 );
~KGVPageDecorator() { ; }
unsigned int margin() const;
@@ -49,13 +49,13 @@ protected:
virtual void drawFrame( TQPainter* );
/**
- * Draw the tqmask of both the frame and the contents in order to create a
+ * Draw the mask of both the frame and the contents in order to create a
* partially transparent frame.
*/
virtual void drawMask( TQPainter* );
/**
- * Reimplemented from TQWidget. It uses @ref drawMask() to draw the tqmask
+ * Reimplemented from TQWidget. It uses @ref drawMask() to draw the mask
* of the frame when transparency is required.
*/
virtual void updateMask();
diff --git a/kghostview/kgvpageview.cpp b/kghostview/kgvpageview.cpp
index 577a8c98..4761391b 100644
--- a/kghostview/kgvpageview.cpp
+++ b/kghostview/kgvpageview.cpp
@@ -22,8 +22,8 @@
#include "kgvpageview.h"
-KGVPageView::KGVPageView( TQWidget* tqparent, const char* name )
- : TQScrollView( tqparent, name )
+KGVPageView::KGVPageView( TQWidget* parent, const char* name )
+ : TQScrollView( parent, name )
{
_page = 0;
diff --git a/kghostview/kgvpageview.h b/kghostview/kgvpageview.h
index 63f9c5af..c0dec421 100644
--- a/kghostview/kgvpageview.h
+++ b/kghostview/kgvpageview.h
@@ -33,7 +33,7 @@ class KGVPageView : public TQScrollView
TQ_OBJECT
public:
- KGVPageView( TQWidget* tqparent = 0, const char* name = 0 );
+ KGVPageView( TQWidget* parent = 0, const char* name = 0 );
~KGVPageView() { ; }
void setPage( TQWidget* );
diff --git a/kghostview/kpswidget.cpp b/kghostview/kpswidget.cpp
index 389b5284..c6d5d972 100644
--- a/kghostview/kpswidget.cpp
+++ b/kghostview/kpswidget.cpp
@@ -80,8 +80,8 @@ TQCString palette2String( Configuration::EnumPalette::type palette )
}
-KPSWidget::KPSWidget( TQWidget* tqparent, const char* name ) :
- TQWidget ( tqparent, name ),
+KPSWidget::KPSWidget( TQWidget* parent, const char* name ) :
+ TQWidget ( parent, name ),
_gsWindow ( None ),
_usePipe ( false ),
_doubleBuffer ( false ),
diff --git a/kghostview/kpswidget.h b/kghostview/kpswidget.h
index 3420aa6b..90b14e24 100644
--- a/kghostview/kpswidget.h
+++ b/kghostview/kpswidget.h
@@ -49,7 +49,7 @@ class KPSWidget : public TQWidget
TQ_OBJECT
public:
- KPSWidget( TQWidget* tqparent = 0, const char* name = 0 );
+ KPSWidget( TQWidget* parent = 0, const char* name = 0 );
~KPSWidget();
/**
diff --git a/kghostview/logwindow.cpp b/kghostview/logwindow.cpp
index f3f41deb..207e88f1 100644
--- a/kghostview/logwindow.cpp
+++ b/kghostview/logwindow.cpp
@@ -27,8 +27,8 @@
#include "logwindow.h"
LogWindow::LogWindow( const TQString& caption,
- TQWidget* tqparent, const char* name) :
- KDialogBase( tqparent, name, false, caption, User1|Close, Close, false,
+ TQWidget* parent, const char* name) :
+ KDialogBase( parent, name, false, caption, User1|Close, Close, false,
KStdGuiItem::clear() )
{
TQVBox * display = makeVBoxMainWidget();
diff --git a/kghostview/logwindow.h b/kghostview/logwindow.h
index 277bcdfd..b81d0396 100644
--- a/kghostview/logwindow.h
+++ b/kghostview/logwindow.h
@@ -32,7 +32,7 @@ class LogWindow : public KDialogBase
public:
LogWindow( const TQString& caption,
- TQWidget* tqparent = 0, const char* name = 0 );
+ TQWidget* parent = 0, const char* name = 0 );
public slots:
void append( const TQString& message );
diff --git a/kghostview/marklist.cpp b/kghostview/marklist.cpp
index 50aa4cbc..ee91af25 100644
--- a/kghostview/marklist.cpp
+++ b/kghostview/marklist.cpp
@@ -32,8 +32,8 @@
#include "kgv_miniwidget.h"
-MarkListItem::MarkListItem(TQWidget *tqparent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget* miniW, int pageNum)
- : TQWidget( tqparent ),
+MarkListItem::MarkListItem(TQWidget *parent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget* miniW, int pageNum)
+ : TQWidget( parent ),
_miniWidget( miniW ),
_pageNum( pageNum ),
_requested( false )
@@ -113,8 +113,8 @@ void MarkListItem::paintEvent( TQPaintEvent* )
/* MarkList */
-MarkList::MarkList( TQWidget* tqparent, const char* name, KGVMiniWidget* mini)
- : TQTable( tqparent, name ),
+MarkList::MarkList( TQWidget* parent, const char* name, KGVMiniWidget* mini)
+ : TQTable( parent, name ),
_selected ( -1 ),
_miniWidget( mini )
{
diff --git a/kghostview/marklist.h b/kghostview/marklist.h
index 1977a18d..9b0b7b5e 100644
--- a/kghostview/marklist.h
+++ b/kghostview/marklist.h
@@ -29,7 +29,7 @@ class MarkListItem : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- MarkListItem( TQWidget *tqparent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget*, int );
+ MarkListItem( TQWidget *parent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget*, int );
bool isChecked() const;
@@ -58,7 +58,7 @@ class MarkList: public TQTable
TQ_OBJECT
public:
- MarkList( TQWidget* tqparent = 0, const char* name = 0, KGVMiniWidget* = 0 );
+ MarkList( TQWidget* parent = 0, const char* name = 0, KGVMiniWidget* = 0 );
TQValueList<int> markList() const;
void insertItem( const TQString& text, int index = -1,
diff --git a/kghostview/scrollbox.cpp b/kghostview/scrollbox.cpp
index f9c23904..0246e893 100644
--- a/kghostview/scrollbox.cpp
+++ b/kghostview/scrollbox.cpp
@@ -22,8 +22,8 @@
#include "scrollbox.h"
-ScrollBox::ScrollBox( TQWidget* tqparent, const char* name )
- : TQFrame( tqparent, name )
+ScrollBox::ScrollBox( TQWidget* parent, const char* name )
+ : TQFrame( parent, name )
{
setFrameStyle( Panel | Sunken );
}
diff --git a/kghostview/scrollbox.h b/kghostview/scrollbox.h
index 04722166..f324dc57 100644
--- a/kghostview/scrollbox.h
+++ b/kghostview/scrollbox.h
@@ -28,7 +28,7 @@ class ScrollBox: public TQFrame
TQ_OBJECT
public:
- ScrollBox( TQWidget* tqparent = 0, const char* name = 0 );
+ ScrollBox( TQWidget* parent = 0, const char* name = 0 );
public slots:
void setPageSize( const TQSize& );
diff --git a/kghostview/thumbnailservice.cpp b/kghostview/thumbnailservice.cpp
index 9887ec4b..817d1c03 100644
--- a/kghostview/thumbnailservice.cpp
+++ b/kghostview/thumbnailservice.cpp
@@ -28,14 +28,14 @@
#include <cassert>
#include <cstring>
-ThumbnailService::ThumbnailService( KGVMiniWidget* tqparent, const char* name ) :
- TQObject( tqparent, name ),
- _mini( tqparent ),
+ThumbnailService::ThumbnailService( KGVMiniWidget* parent, const char* name ) :
+ TQObject( parent, name ),
+ _mini( parent ),
timer_( new TQTimer( this ) ),
_busy( false ),
_enabled( false )
{
- _thumbnailDrawer = new KPSWidget( tqparent->_part->widget(), "thumbnail-drawer" );
+ _thumbnailDrawer = new KPSWidget( parent->_part->widget(), "thumbnail-drawer" );
_thumbnailDrawer->readSettings();
connect( _thumbnailDrawer, TQT_SIGNAL( newPageImage( TQPixmap ) ), TQT_SLOT( slotDone( TQPixmap ) ) );
connect( timer_, TQT_SIGNAL( timeout() ), TQT_SLOT( processOne() ) );
diff --git a/kghostview/thumbnailservice.h b/kghostview/thumbnailservice.h
index e57f18bf..afbffa9f 100644
--- a/kghostview/thumbnailservice.h
+++ b/kghostview/thumbnailservice.h
@@ -32,7 +32,7 @@ class ThumbnailService : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
- ThumbnailService( KGVMiniWidget* tqparent, const char* name = 0 );
+ ThumbnailService( KGVMiniWidget* parent, const char* name = 0 );
~ThumbnailService();
public slots:
diff --git a/kghostview/viewcontrol.cpp b/kghostview/viewcontrol.cpp
index 3da5730e..8f1c8f0c 100644
--- a/kghostview/viewcontrol.cpp
+++ b/kghostview/viewcontrol.cpp
@@ -25,8 +25,8 @@
#include <kbuttonbox.h>
#include <kseparator.h>
-ViewControl::ViewControl( TQWidget *tqparent, const char *name )
- : TQDialog( tqparent, name )
+ViewControl::ViewControl( TQWidget *parent, const char *name )
+ : TQDialog( parent, name )
{
setFocusPolicy(TQ_StrongFocus);
diff --git a/kghostview/viewcontrol.h b/kghostview/viewcontrol.h
index 7f2c07c1..8eac289e 100644
--- a/kghostview/viewcontrol.h
+++ b/kghostview/viewcontrol.h
@@ -11,7 +11,7 @@ class ViewControl : public TQDialog
Q_OBJECT
TQ_OBJECT
public:
- ViewControl( TQWidget *tqparent, const char *name );
+ ViewControl( TQWidget *parent, const char *name );
TQComboBox* magComboBox;
TQComboBox* mediaComboBox;
TQComboBox* orientComboBox;