Commit a2b2db70 authored by Pino Toscano's avatar Pino Toscano

SVN_SILENT old code

svn path=/trunk/KDE/kdegraphics/okular/; revision=709398
parent 0cf7f95f
......@@ -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;
......
......@@ -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<Okular::ExportFormat> m_exportFormats;
QList<QAction*> m_bookmarkActions;
bool m_cliPresentation;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment