summaryrefslogtreecommitdiffstats
path: root/kpdf/core/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/core/document.cpp')
-rw-r--r--kpdf/core/document.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpdf/core/document.cpp b/kpdf/core/document.cpp
index f97be985..97bc6706 100644
--- a/kpdf/core/document.cpp
+++ b/kpdf/core/document.cpp
@@ -204,7 +204,7 @@ bool KPDFDocument::openDocument( const TQString & docFile, const KURL & url, con
if ( !d->saveBookmarksTimer )
{
d->saveBookmarksTimer = new TQTimer( this );
- connect( d->saveBookmarksTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( saveDocumentInfo() ) );
+ connect( d->saveBookmarksTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( saveDocumentInfo() ) );
}
d->saveBookmarksTimer->start( 5 * 60 * 1000 );
@@ -212,7 +212,7 @@ bool KPDFDocument::openDocument( const TQString & docFile, const KURL & url, con
if ( !d->memCheckTimer )
{
d->memCheckTimer = new TQTimer( this );
- connect( d->memCheckTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotTimedMemoryCheck() ) );
+ connect( d->memCheckTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimedMemoryCheck() ) );
}
d->memCheckTimer->start( 2000 );
@@ -357,7 +357,7 @@ void KPDFDocument::reparseConfig()
TQWidget *KPDFDocument::widget() const
{
- return TQT_TQWIDGET(parent());
+ return static_cast<TQWidget*>(parent());
}
bool KPDFDocument::isOpened() const