summaryrefslogtreecommitdiffstats
path: root/kpdf
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kpdf
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpdf')
-rw-r--r--kpdf/conf/preferencesdialog.cpp4
-rw-r--r--kpdf/conf/preferencesdialog.h2
-rw-r--r--kpdf/core/document.cpp2
-rw-r--r--kpdf/core/generator_pdf/generator_pdf.cpp4
-rw-r--r--kpdf/core/generator_pdf/generator_pdf.h2
-rw-r--r--kpdf/core/generator_pdf/gp_outputdev.h2
-rw-r--r--kpdf/part.cpp16
-rw-r--r--kpdf/part.h2
-rw-r--r--kpdf/ui/minibar.cpp30
-rw-r--r--kpdf/ui/minibar.h2
-rw-r--r--kpdf/ui/pageview.cpp4
-rw-r--r--kpdf/ui/pageview.h2
-rw-r--r--kpdf/ui/pageviewutils.cpp18
-rw-r--r--kpdf/ui/pageviewutils.h2
-rw-r--r--kpdf/ui/presentationwidget.cpp4
-rw-r--r--kpdf/ui/presentationwidget.h2
-rw-r--r--kpdf/ui/propertiesdialog.cpp4
-rw-r--r--kpdf/ui/propertiesdialog.h2
-rw-r--r--kpdf/ui/searchwidget.cpp4
-rw-r--r--kpdf/ui/searchwidget.h2
-rw-r--r--kpdf/ui/thumbnaillist.cpp14
-rw-r--r--kpdf/ui/thumbnaillist.h6
-rw-r--r--kpdf/ui/toc.cpp10
-rw-r--r--kpdf/ui/toc.h2
24 files changed, 71 insertions, 71 deletions
diff --git a/kpdf/conf/preferencesdialog.cpp b/kpdf/conf/preferencesdialog.cpp
index 418517a1..61211008 100644
--- a/kpdf/conf/preferencesdialog.cpp
+++ b/kpdf/conf/preferencesdialog.cpp
@@ -18,8 +18,8 @@
// reimplementing this
#include "preferencesdialog.h"
-PreferencesDialog::PreferencesDialog( TQWidget * tqparent, KConfigSkeleton * skeleton )
- : KConfigDialog( tqparent, "preferences", skeleton )
+PreferencesDialog::PreferencesDialog( TQWidget * parent, KConfigSkeleton * skeleton )
+ : KConfigDialog( parent, "preferences", skeleton )
{
m_general = new DlgGeneral(0);
m_performance = new DlgPerformance(0);
diff --git a/kpdf/conf/preferencesdialog.h b/kpdf/conf/preferencesdialog.h
index 316aa05b..36aaa909 100644
--- a/kpdf/conf/preferencesdialog.h
+++ b/kpdf/conf/preferencesdialog.h
@@ -25,7 +25,7 @@ class PreferencesDialog : public KConfigDialog
{
public:
- PreferencesDialog( TQWidget * tqparent, KConfigSkeleton * config );
+ PreferencesDialog( TQWidget * parent, KConfigSkeleton * config );
protected:
// void updateSettings(); // Called when OK/Apply is pressed.
diff --git a/kpdf/core/document.cpp b/kpdf/core/document.cpp
index 9062f976..2074789d 100644
--- a/kpdf/core/document.cpp
+++ b/kpdf/core/document.cpp
@@ -357,7 +357,7 @@ void KPDFDocument::reparseConfig()
TQWidget *KPDFDocument::widget() const
{
- return TQT_TQWIDGET(tqparent());
+ return TQT_TQWIDGET(parent());
}
bool KPDFDocument::isOpened() const
diff --git a/kpdf/core/generator_pdf/generator_pdf.cpp b/kpdf/core/generator_pdf/generator_pdf.cpp
index 0a445a37..6550a543 100644
--- a/kpdf/core/generator_pdf/generator_pdf.cpp
+++ b/kpdf/core/generator_pdf/generator_pdf.cpp
@@ -856,7 +856,7 @@ TQString PDFGenerator::getDocumentDate( const TQString & data ) const
return result;
}
-void PDFGenerator::addSynopsisChildren( TQDomNode * tqparent, GList * items )
+void PDFGenerator::addSynopsisChildren( TQDomNode * parent, GList * items )
{
int numItems = items->getLength();
for ( int i = 0; i < numItems; ++i )
@@ -872,7 +872,7 @@ void PDFGenerator::addSynopsisChildren( TQDomNode * tqparent, GList * items )
if ( name.isEmpty() )
continue;
TQDomElement item = docSyn.createElement( name );
- tqparent->appendChild( item );
+ parent->appendChild( item );
// 2. find the page the link refers to
LinkAction * a = outlineItem->getAction();
diff --git a/kpdf/core/generator_pdf/generator_pdf.h b/kpdf/core/generator_pdf/generator_pdf.h
index b7d2deb2..0aba8224 100644
--- a/kpdf/core/generator_pdf/generator_pdf.h
+++ b/kpdf/core/generator_pdf/generator_pdf.h
@@ -95,7 +95,7 @@ class PDFGenerator : public Generator
TQString getDocumentInfo( const TQString & data, bool canReturnNull = false ) const;
TQString getDocumentDate( const TQString & data ) const;
// private function for creating the document synopsis hieracy
- void addSynopsisChildren( TQDomNode * tqparent, GList * items );
+ void addSynopsisChildren( TQDomNode * parent, GList * items );
// private function for creating the transition information
void addTransition( int pageNumber, KPDFPage * page );
// (async related) receive data from the generator thread
diff --git a/kpdf/core/generator_pdf/gp_outputdev.h b/kpdf/core/generator_pdf/gp_outputdev.h
index 7eea425f..7788b1db 100644
--- a/kpdf/core/generator_pdf/gp_outputdev.h
+++ b/kpdf/core/generator_pdf/gp_outputdev.h
@@ -32,7 +32,7 @@ class DocumentViewport;
* @short A SplashOutputDev renderer that grabs text and links.
*
* This output device:
- * - renders the page using SplashOutputDev (its tqparent)
+ * - renders the page using SplashOutputDev (its parent)
* - harvests text into a textPage (for searching text)
* - harvests links and collects them
* - collects images and collects them
diff --git a/kpdf/part.cpp b/kpdf/part.cpp
index 81756ff5..0f8f2d9f 100644
--- a/kpdf/part.cpp
+++ b/kpdf/part.cpp
@@ -114,9 +114,9 @@ using namespace KPDF;
unsigned int Part::m_count = 0;
Part::Part(TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const TQStringList & /*args*/ )
- : DCOPObject("kpdf"), KParts::ReadOnlyPart(tqparent, name), m_showMenuBarAction(0), m_showFullScreenAction(0),
+ : DCOPObject("kpdf"), KParts::ReadOnlyPart(parent, name), m_showMenuBarAction(0), m_showFullScreenAction(0),
m_actionsSearched(false), m_searchStarted(false)
{
// connect the started signal to tell the job the mimetypes we like
@@ -151,8 +151,8 @@ Part::Part(TQWidget *parentWidget, const char *widgetName,
connect( m_document, TQT_SIGNAL( openURL(const KURL &) ), this, TQT_SLOT( openURLFromDocument(const KURL &) ) );
connect( m_document, TQT_SIGNAL( close() ), this, TQT_SLOT( close() ) );
- if (tqparent && tqparent->tqmetaObject()->slotNames(true).contains("slotQuit()"))
- connect( m_document, TQT_SIGNAL( quit() ), tqparent, TQT_SLOT( slotQuit() ) );
+ if (parent && parent->tqmetaObject()->slotNames(true).contains("slotQuit()"))
+ connect( m_document, TQT_SIGNAL( quit() ), parent, TQT_SLOT( slotQuit() ) );
else
connect( m_document, TQT_SIGNAL( quit() ), this, TQT_SLOT( cannotQuit() ) );
@@ -634,7 +634,7 @@ void Part::slotDoFileDirty()
void Part::close()
{
- if (tqparent() && strcmp(tqparent()->name(), "KPDF::Shell") == 0)
+ if (parent() && strcmp(parent()->name(), "KPDF::Shell") == 0)
{
closeURL();
}
@@ -1085,8 +1085,8 @@ void Part::saveDocumentRestoreInfo(KConfig* config)
/*
* BrowserExtension class
*/
-BrowserExtension::BrowserExtension(Part* tqparent)
- : KParts::BrowserExtension( tqparent, "KPDF::BrowserExtension" )
+BrowserExtension::BrowserExtension(Part* parent)
+ : KParts::BrowserExtension( parent, "KPDF::BrowserExtension" )
{
emit enableAction("print", true);
setURLDropHandlingEnabled(true);
@@ -1094,7 +1094,7 @@ BrowserExtension::BrowserExtension(Part* tqparent)
void BrowserExtension::print()
{
- static_cast<Part*>(tqparent())->slotPrint();
+ static_cast<Part*>(parent())->slotPrint();
}
#include "part.moc"
diff --git a/kpdf/part.h b/kpdf/part.h
index 48e11bb8..b745ca29 100644
--- a/kpdf/part.h
+++ b/kpdf/part.h
@@ -64,7 +64,7 @@ Q_OBJECT
public:
// Default constructor
Part(TQWidget* parentWidget, const char* widgetName,
- TQObject* tqparent, const char* name, const TQStringList& args);
+ TQObject* parent, const char* name, const TQStringList& args);
// Destructor
~Part();
diff --git a/kpdf/ui/minibar.cpp b/kpdf/ui/minibar.cpp
index c5d85cea..db692703 100644
--- a/kpdf/ui/minibar.cpp
+++ b/kpdf/ui/minibar.cpp
@@ -28,7 +28,7 @@
class ProgressWidget : public TQWidget
{
public:
- ProgressWidget( MiniBar * tqparent );
+ ProgressWidget( MiniBar * parent );
void setProgress( float percentage );
protected:
@@ -46,7 +46,7 @@ class ProgressWidget : public TQWidget
class PagesEdit : public TQLineEdit
{
public:
- PagesEdit( MiniBar * tqparent );
+ PagesEdit( MiniBar * parent );
void setPagesNumber( int pages );
void setText( const TQString & );
@@ -67,7 +67,7 @@ class PagesEdit : public TQLineEdit
class HoverButton : public TQPushButton
{
public:
- HoverButton( TQWidget * tqparent );
+ HoverButton( TQWidget * parent );
protected:
void paintEvent( TQPaintEvent * e );
@@ -78,8 +78,8 @@ class HoverButton : public TQPushButton
/** MiniBar **/
-MiniBar::MiniBar( TQWidget * tqparent, KPDFDocument * document )
- : TQFrame( tqparent, "miniBar" ), m_document( document ),
+MiniBar::MiniBar( TQWidget * parent, KPDFDocument * document )
+ : TQFrame( parent, "miniBar" ), m_document( document ),
m_currentPage( -1 )
{
// left spacer
@@ -127,7 +127,7 @@ MiniBar::MiniBar( TQWidget * tqparent, KPDFDocument * document )
connect( m_nextButton, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( nextPage() ) );
// widget starts hidden (will be shown after opening a document)
- tqparent->hide();
+ parent->hide();
}
MiniBar::~MiniBar()
@@ -146,7 +146,7 @@ void MiniBar::notifySetup( const TQValueVector< KPDFPage * > & pageVector, bool
if ( pages < 1 )
{
m_currentPage = -1;
- TQT_TQWIDGET( tqparent() )->hide();
+ TQT_TQWIDGET( parent() )->hide();
return;
}
@@ -171,7 +171,7 @@ void MiniBar::notifySetup( const TQValueVector< KPDFPage * > & pageVector, bool
m_pagesButton->setText( TQString::number( pages ) );
m_prevButton->setEnabled( false );
m_nextButton->setEnabled( false );
- TQT_TQWIDGET( tqparent() )->show();
+ TQT_TQWIDGET( parent() )->show();
}
void MiniBar::notifyViewportChanged( bool /*smoothMove*/ )
@@ -259,9 +259,9 @@ void MiniBar::slotEmitPrevPage()
/** ProgressWidget **/
-ProgressWidget::ProgressWidget( MiniBar * tqparent )
- : TQWidget( tqparent, "progress", WNoAutoErase ),
- m_miniBar( tqparent ), m_progressPercentage( -1 )
+ProgressWidget::ProgressWidget( MiniBar * parent )
+ : TQWidget( parent, "progress", WNoAutoErase ),
+ m_miniBar( parent ), m_progressPercentage( -1 )
{
setFixedHeight( 4 );
setMouseTracking( true );
@@ -325,8 +325,8 @@ void ProgressWidget::paintEvent( TQPaintEvent * e )
/** PagesEdit **/
-PagesEdit::PagesEdit( MiniBar * tqparent )
- : TQLineEdit( tqparent ), m_miniBar( tqparent ), m_eatClick( false )
+PagesEdit::PagesEdit( MiniBar * parent )
+ : TQLineEdit( parent ), m_miniBar( parent ), m_eatClick( false )
{
// customize look
setFrameShadow( TQFrame::Raised );
@@ -398,8 +398,8 @@ void PagesEdit::wheelEvent( TQWheelEvent * e )
/** HoverButton **/
-HoverButton::HoverButton( TQWidget * tqparent )
- : TQPushButton( tqparent )
+HoverButton::HoverButton( TQWidget * parent )
+ : TQPushButton( parent )
{
setMouseTracking( true );
#if KDE_IS_VERSION(3,3,90)
diff --git a/kpdf/ui/minibar.h b/kpdf/ui/minibar.h
index 99bc13aa..f9857ec7 100644
--- a/kpdf/ui/minibar.h
+++ b/kpdf/ui/minibar.h
@@ -27,7 +27,7 @@ class MiniBar : public TQFrame, public DocumentObserver
Q_OBJECT
TQ_OBJECT
public:
- MiniBar( TQWidget *tqparent, KPDFDocument * document );
+ MiniBar( TQWidget *parent, KPDFDocument * document );
~MiniBar();
// [INHERITED] from DocumentObserver
diff --git a/kpdf/ui/pageview.cpp b/kpdf/ui/pageview.cpp
index 42024f55..de5fad0c 100644
--- a/kpdf/ui/pageview.cpp
+++ b/kpdf/ui/pageview.cpp
@@ -178,8 +178,8 @@ void PageViewTip::maybeTip( const TQPoint &_p )
* other misc functions: only slotRequestVisiblePixmaps and pickItemOnPoint noticeable,
* and many insignificant stuff like this comment :-)
*/
-PageView::PageView( TQWidget *tqparent, KPDFDocument *document )
- : TQScrollView( tqparent, "KPDF::pageView", WStaticContents | WNoAutoErase )
+PageView::PageView( TQWidget *parent, KPDFDocument *document )
+ : TQScrollView( parent, "KPDF::pageView", WStaticContents | WNoAutoErase )
{
// create and initialize private storage structure
d = new PageViewPrivate();
diff --git a/kpdf/ui/pageview.h b/kpdf/ui/pageview.h
index 3bec8be0..8895c9ec 100644
--- a/kpdf/ui/pageview.h
+++ b/kpdf/ui/pageview.h
@@ -44,7 +44,7 @@ class PageView : public TQScrollView, public DocumentObserver
friend class PageViewTip;
public:
- PageView( TQWidget *tqparent, KPDFDocument *document );
+ PageView( TQWidget *parent, KPDFDocument *document );
~PageView();
// Zoom mode ( last 4 are internally used only! )
diff --git a/kpdf/ui/pageviewutils.cpp b/kpdf/ui/pageviewutils.cpp
index 369bcd83..a948d49c 100644
--- a/kpdf/ui/pageviewutils.cpp
+++ b/kpdf/ui/pageviewutils.cpp
@@ -21,8 +21,8 @@
#include "core/page.h"
#include "conf/settings.h"
-PageViewMessage::PageViewMessage( TQWidget * tqparent )
- : TQWidget( tqparent, "pageViewMessage" ), m_timer( 0 )
+PageViewMessage::PageViewMessage( TQWidget * parent )
+ : TQWidget( parent, "pageViewMessage" ), m_timer( 0 )
{
setFocusPolicy( TQ_NoFocus );
setBackgroundMode( NoBackground );
@@ -86,18 +86,18 @@ void PageViewMessage::display( const TQString & message, Icon icon, int duration
}
TQRect tqgeometry( 0, 0, width + 10, height + 8 );
- // resize pixmap, tqmask and widget
- static TQBitmap tqmask;
- tqmask.resize( tqgeometry.size() );
+ // resize pixmap, mask and widget
+ static TQBitmap mask;
+ mask.resize( tqgeometry.size() );
m_pixmap.resize( tqgeometry.size() );
resize( tqgeometry.size() );
- // create and set transparency tqmask
- TQPainter maskPainter( &tqmask);
- tqmask.fill( TQt::black );
+ // create and set transparency mask
+ TQPainter maskPainter( &mask);
+ mask.fill( TQt::black );
maskPainter.setBrush( TQt::white );
maskPainter.drawRoundRect( tqgeometry, 1600 / tqgeometry.width(), 1600 / tqgeometry.height() );
- setMask( tqmask );
+ setMask( mask );
// draw background
TQPainter bufferPainter( &m_pixmap );
diff --git a/kpdf/ui/pageviewutils.h b/kpdf/ui/pageviewutils.h
index 0bd6bd32..ceac9fe2 100644
--- a/kpdf/ui/pageviewutils.h
+++ b/kpdf/ui/pageviewutils.h
@@ -55,7 +55,7 @@ class PageViewItem
class PageViewMessage : public TQWidget
{
public:
- PageViewMessage( TQWidget * tqparent );
+ PageViewMessage( TQWidget * parent );
enum Icon { None, Info, Warning, Error, Find };
void display( const TQString & message, Icon icon = Info, int durationMs = 4000 );
diff --git a/kpdf/ui/presentationwidget.cpp b/kpdf/ui/presentationwidget.cpp
index cc882f7a..d4e14b6a 100644
--- a/kpdf/ui/presentationwidget.cpp
+++ b/kpdf/ui/presentationwidget.cpp
@@ -52,8 +52,8 @@ struct PresentationFrame
};
-PresentationWidget::PresentationWidget( TQWidget * tqparent, KPDFDocument * doc )
- : TQDialog( tqparent, "presentationWidget", true, WDestructiveClose | WStyle_NoBorder),
+PresentationWidget::PresentationWidget( TQWidget * parent, KPDFDocument * doc )
+ : TQDialog( parent, "presentationWidget", true, WDestructiveClose | WStyle_NoBorder),
m_pressedLink( 0 ), m_handCursor( false ), m_document( doc ), m_frameIndex( -1 )
{
// set look and tqgeometry
diff --git a/kpdf/ui/presentationwidget.h b/kpdf/ui/presentationwidget.h
index 00ae2bfb..26db0836 100644
--- a/kpdf/ui/presentationwidget.h
+++ b/kpdf/ui/presentationwidget.h
@@ -37,7 +37,7 @@ class PresentationWidget : public TQDialog, public DocumentObserver
Q_OBJECT
TQ_OBJECT
public:
- PresentationWidget( TQWidget * tqparent, KPDFDocument * doc );
+ PresentationWidget( TQWidget * parent, KPDFDocument * doc );
~PresentationWidget();
void setupActions( KActionCollection * ac );
diff --git a/kpdf/ui/propertiesdialog.cpp b/kpdf/ui/propertiesdialog.cpp
index 02743ccb..d9cee932 100644
--- a/kpdf/ui/propertiesdialog.cpp
+++ b/kpdf/ui/propertiesdialog.cpp
@@ -19,8 +19,8 @@
#include "propertiesdialog.h"
#include "core/document.h"
-PropertiesDialog::PropertiesDialog(TQWidget *tqparent, KPDFDocument *doc)
- : KDialogBase( Tabbed, i18n( "Unknown File" ), Ok, Ok, tqparent, 0, true, true )
+PropertiesDialog::PropertiesDialog(TQWidget *parent, KPDFDocument *doc)
+ : KDialogBase( Tabbed, i18n( "Unknown File" ), Ok, Ok, parent, 0, true, true )
{
// Properties
TQFrame *page = addPage(i18n("Properties"));
diff --git a/kpdf/ui/propertiesdialog.h b/kpdf/ui/propertiesdialog.h
index f5541e34..d5e3229a 100644
--- a/kpdf/ui/propertiesdialog.h
+++ b/kpdf/ui/propertiesdialog.h
@@ -17,7 +17,7 @@ class KPDFDocument;
class PropertiesDialog : public KDialogBase
{
public:
- PropertiesDialog( TQWidget *tqparent, KPDFDocument *doc );
+ PropertiesDialog( TQWidget *parent, KPDFDocument *doc );
};
#endif
diff --git a/kpdf/ui/searchwidget.cpp b/kpdf/ui/searchwidget.cpp
index 116df031..7ca3ba49 100644
--- a/kpdf/ui/searchwidget.cpp
+++ b/kpdf/ui/searchwidget.cpp
@@ -28,8 +28,8 @@
#define LEDIT_ID 2
#define FIND_ID 3
-SearchWidget::SearchWidget( TQWidget * tqparent, KPDFDocument * document )
- : KToolBar( tqparent, "iSearchBar" ), m_document( document ),
+SearchWidget::SearchWidget( TQWidget * parent, KPDFDocument * document )
+ : KToolBar( parent, "iSearchBar" ), m_document( document ),
m_searchType( 0 ), m_caseSensitive( false )
{
// change toolbar appearance
diff --git a/kpdf/ui/searchwidget.h b/kpdf/ui/searchwidget.h
index a39e01ad..c2d2d1c1 100644
--- a/kpdf/ui/searchwidget.h
+++ b/kpdf/ui/searchwidget.h
@@ -32,7 +32,7 @@ class SearchWidget : public KToolBar
Q_OBJECT
TQ_OBJECT
public:
- SearchWidget( TQWidget *tqparent, KPDFDocument *document );
+ SearchWidget( TQWidget *parent, KPDFDocument *document );
void clearText();
private:
diff --git a/kpdf/ui/thumbnaillist.cpp b/kpdf/ui/thumbnaillist.cpp
index 8c6ab951..a41869d6 100644
--- a/kpdf/ui/thumbnaillist.cpp
+++ b/kpdf/ui/thumbnaillist.cpp
@@ -30,7 +30,7 @@
class ThumbnailWidget : public TQWidget
{
public:
- ThumbnailWidget( TQWidget * tqparent, const KPDFPage * page, ThumbnailList * tl );
+ ThumbnailWidget( TQWidget * parent, const KPDFPage * page, ThumbnailList * tl );
// set internal parameters to fit the page in the given width
void resizeFitWidth( int width );
@@ -63,8 +63,8 @@ class ThumbnailWidget : public TQWidget
/** ThumbnailList implementation **/
-ThumbnailList::ThumbnailList( TQWidget *tqparent, KPDFDocument *document )
- : TQScrollView( tqparent, "KPDF::Thumbnails", WNoAutoErase | WStaticContents ),
+ThumbnailList::ThumbnailList( TQWidget *parent, KPDFDocument *document )
+ : TQScrollView( parent, "KPDF::Thumbnails", WNoAutoErase | WStaticContents ),
m_document( document ), m_selected( 0 ), m_delayTimer( 0 ), m_bookmarkOverlay( 0 )
{
// set scrollbars
@@ -452,8 +452,8 @@ void ThumbnailList::delayedRequestVisiblePixmaps( int delayMs )
/** ThumbnailWidget implementation **/
-ThumbnailWidget::ThumbnailWidget( TQWidget * tqparent, const KPDFPage * kp, ThumbnailList * tl )
- : TQWidget( tqparent, 0, WNoAutoErase ), m_tl( tl ), m_page( kp ),
+ThumbnailWidget::ThumbnailWidget( TQWidget * parent, const KPDFPage * kp, ThumbnailList * tl )
+ : TQWidget( parent, 0, WNoAutoErase ), m_tl( tl ), m_page( kp ),
m_selected( false ), m_pixmapWidth( 10 ), m_pixmapHeight( 10 )
{
m_labelNumber = m_page->number() + 1;
@@ -552,8 +552,8 @@ void ThumbnailWidget::paintEvent( TQPaintEvent * e )
#define FILTERB_ID 1
-ThumbnailController::ThumbnailController( TQWidget * tqparent, ThumbnailList * list )
- : KToolBar( tqparent, "ThumbsControlBar" )
+ThumbnailController::ThumbnailController( TQWidget * parent, ThumbnailList * list )
+ : KToolBar( parent, "ThumbsControlBar" )
{
// change toolbar appearance
setMargin( 3 );
diff --git a/kpdf/ui/thumbnaillist.h b/kpdf/ui/thumbnaillist.h
index b28bd741..549ea20c 100644
--- a/kpdf/ui/thumbnaillist.h
+++ b/kpdf/ui/thumbnaillist.h
@@ -32,7 +32,7 @@ class ThumbnailList : public TQScrollView, public DocumentObserver
Q_OBJECT
TQ_OBJECT
public:
- ThumbnailList(TQWidget *tqparent, KPDFDocument *document);
+ ThumbnailList(TQWidget *parent, KPDFDocument *document);
~ThumbnailList();
// inherited: return thumbnails observer id
@@ -101,7 +101,7 @@ Q_OBJECT
class ThumbnailsBox : public TQVBox
{
public:
- ThumbnailsBox( TQWidget * tqparent ) : TQVBox( tqparent ) {};
+ ThumbnailsBox( TQWidget * parent ) : TQVBox( parent ) {};
TQSize tqsizeHint() const { return TQSize(); }
};
@@ -116,7 +116,7 @@ class ThumbnailsBox : public TQVBox
class ThumbnailController : public KToolBar
{
public:
- ThumbnailController( TQWidget * tqparent, ThumbnailList * thumbnailList );
+ ThumbnailController( TQWidget * parent, ThumbnailList * thumbnailList );
};
#endif
diff --git a/kpdf/ui/toc.cpp b/kpdf/ui/toc.cpp
index 08880c3d..015ba313 100644
--- a/kpdf/ui/toc.cpp
+++ b/kpdf/ui/toc.cpp
@@ -25,8 +25,8 @@
class TOCItem : public KListViewItem
{
public:
- TOCItem( KListView *tqparent, TOCItem *after, const TQDomElement & e )
- : KListViewItem( tqparent, after, e.tagName() ), m_element( e )
+ TOCItem( KListView *parent, TOCItem *after, const TQDomElement & e )
+ : KListViewItem( parent, after, e.tagName() ), m_element( e )
{
#ifdef TOC_ENABLE_PAGE_COLUMN
if ( e.hasAttribute( "Page" ) )
@@ -35,8 +35,8 @@ class TOCItem : public KListViewItem
setMultiLinesEnabled(true);
}
- TOCItem( KListViewItem *tqparent, TOCItem *after, const TQDomElement & e )
- : KListViewItem( tqparent, after, e.tagName() ), m_element( e )
+ TOCItem( KListViewItem *parent, TOCItem *after, const TQDomElement & e )
+ : KListViewItem( parent, after, e.tagName() ), m_element( e )
{
#ifdef TOC_ENABLE_PAGE_COLUMN
if ( e.hasAttribute( "Page" ) )
@@ -54,7 +54,7 @@ class TOCItem : public KListViewItem
TQDomElement m_element;
};
-TOC::TOC(TQWidget *tqparent, KPDFDocument *document) : KListView(tqparent), m_document(document)
+TOC::TOC(TQWidget *parent, KPDFDocument *document) : KListView(parent), m_document(document)
{
addColumn( i18n("Topic") );
#ifdef TOC_ENABLE_PAGE_COLUMN
diff --git a/kpdf/ui/toc.h b/kpdf/ui/toc.h
index 93824166..eaccc3d9 100644
--- a/kpdf/ui/toc.h
+++ b/kpdf/ui/toc.h
@@ -22,7 +22,7 @@ class TOC : public KListView, public DocumentObserver
Q_OBJECT
TQ_OBJECT
public:
- TOC(TQWidget *tqparent, KPDFDocument *document);
+ TOC(TQWidget *parent, KPDFDocument *document);
~TOC();
// inherited from DocumentObserver