diff options
Diffstat (limited to 'kview/modules/browser')
-rw-r--r-- | kview/modules/browser/kviewbrowser.cpp | 8 | ||||
-rw-r--r-- | kview/modules/browser/kviewbrowser.h | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/kview/modules/browser/kviewbrowser.cpp b/kview/modules/browser/kviewbrowser.cpp index 936061eb..ef4d091a 100644 --- a/kview/modules/browser/kviewbrowser.cpp +++ b/kview/modules/browser/kviewbrowser.cpp @@ -36,13 +36,13 @@ typedef KGenericFactory<KViewBrowser> KViewBrowserFactory; K_EXPORT_COMPONENT_FACTORY( kview_browserplugin, KViewBrowserFactory( "kviewbrowserplugin" ) ) -KViewBrowser::KViewBrowser( TQObject* parent, const char* name, const TQStringList & ) - : Plugin( parent, name ) +KViewBrowser::KViewBrowser( TQObject* tqparent, const char* name, const TQStringList & ) + : Plugin( tqparent, name ) , m_pDirLister( 0 ) , m_pFileItemList( 0 ) , m_bShowCurrent( false ) { - m_pViewer = static_cast<KImageViewer::Viewer *>( parent ); + m_pViewer = static_cast<KImageViewer::Viewer *>( tqparent ); if( m_pViewer ) { m_paBack = KStdAction::back ( this, TQT_SLOT( slotBack() ), actionCollection(), "previous_image" ); @@ -163,7 +163,7 @@ void KViewBrowser::setupDirLister() { TQApplication::setOverrideCursor( WaitCursor ); TQString url = m_pViewer->url().prettyURL(); - int pos = url.findRev( "/" ); + int pos = url.tqfindRev( "/" ); url = url.left( (unsigned int)pos ); kdDebug( 4630 ) << "open KDirLister for " << url << endl; m_pDirLister->openURL( KURL( url )); diff --git a/kview/modules/browser/kviewbrowser.h b/kview/modules/browser/kviewbrowser.h index 96e8b17f..ecae29f3 100644 --- a/kview/modules/browser/kviewbrowser.h +++ b/kview/modules/browser/kviewbrowser.h @@ -33,8 +33,9 @@ class KMyFileItemList; class KViewBrowser : public KParts::Plugin { Q_OBJECT + TQ_OBJECT public: - KViewBrowser( TQObject* parent, const char* name, const TQStringList & ); + KViewBrowser( TQObject* tqparent, const char* name, const TQStringList & ); virtual ~KViewBrowser(); private slots: |