diff options
Diffstat (limited to 'kpdf/part.cpp')
-rw-r--r-- | kpdf/part.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpdf/part.cpp b/kpdf/part.cpp index eec5e95b..1e222000 100644 --- a/kpdf/part.cpp +++ b/kpdf/part.cpp @@ -151,7 +151,7 @@ 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 (parent && parent->tqmetaObject()->slotNames(true).contains("slotQuit()")) + if (parent && parent->metaObject()->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() ) ); |