From a2b2db70eb134cb2d0132835489b2946cff0dda6 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 7 Sep 2007 12:46:16 +0000 Subject: [PATCH] SVN_SILENT old code svn path=/trunk/KDE/kdegraphics/okular/; revision=709398 --- part.cpp | 5 +---- part.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/part.cpp b/part.cpp index a4e1f95f2..fbd2b71f7 100644 --- a/part.cpp +++ b/part.cpp @@ -117,7 +117,7 @@ QObject *parent, const QVariantList &args ) : KParts::ReadOnlyPart(parent), m_tempfile( 0 ), m_showMenuBarAction( 0 ), m_showFullScreenAction( 0 ), m_actionsSearched( false ), -m_searchStarted(false), m_cliPresentation(false), m_generatorGuiClient(0) +m_cliPresentation(false), m_generatorGuiClient(0) { // first necessary step: copy the configuration from kpdf, if available QString newokularconffile = KStandardDirs::locateLocal( "config", "okularpartrc" ); @@ -859,7 +859,6 @@ bool Part::closeUrl() m_showPresentation->setEnabled( false ); emit setWindowCaption(""); emit enablePrintAction(false); - m_searchStarted = false; m_realUrl = KUrl(); if (!localFilePath().isEmpty()) m_watcher->removeFile(localFilePath()); if ( m_generatorGuiClient ) @@ -1371,8 +1370,6 @@ void Part::slotShowMenu(const Okular::Page *page, const QPoint &point) addBookmark = popup->addAction( KIcon("bookmark-new"), i18n("Add Bookmark") ); if ( m_pageView->canFitPageWidth() ) fitPageWidth = popup->addAction( KIcon("zoom-best-fit"), i18n("Fit Width") ); - //popup->insertItem( SmallIcon("pencil"), i18n("Edit"), 3 ); - //popup->setItemEnabled( 3, false ); popup->addAction( m_prevBookmark ); popup->addAction( m_nextBookmark ); reallyShow = true; diff --git a/part.h b/part.h index 50dfe1980..0448675d9 100644 --- a/part.h +++ b/part.h @@ -231,10 +231,8 @@ class Part : public KParts::ReadOnlyPart, public Okular::DocumentObserver, publi QAction *m_reload; bool m_actionsSearched; - bool m_searchStarted; BrowserExtension *m_bExtension; - KSelectAction * m_confGens; QList m_exportFormats; QList m_bookmarkActions; bool m_cliPresentation;