remove some modifications I made to make it build on 3.1

svn path=/trunk/kdegraphics/kpdf/; revision=276110
remotes/origin/kpdf-3.2
Dominique Devriese 23 years ago
parent 5b35aa8b1a
commit fc0801442e
  1. 2
      kpdf/Makefile.am
  2. 6
      kpdf/kpdf_part.cpp
  3. 2
      kpdf/kpdf_shell.cpp

@ -30,7 +30,7 @@ kpdf_LDADD = $(LIB_KPARTS)
kpdf_COMPILE_FIRST = ../aconf.h
EXTRA_DIST = kpdf.desktop
#xdg_apps_DATA = kpdf.desktop
xdg_apps_DATA = kpdf.desktop
# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/kpdf

@ -15,7 +15,7 @@
#include <kconfig.h>
#include <kparts/genericfactory.h>
#include <kurldrag.h>
#include <qinputdialog.h>
#include <kinputdialog.h>
#include "part.h"
@ -166,8 +166,8 @@ void Part::slotGoToPage()
if ( m_doc )
{
bool ok = false;
int num = QInputDialog::getInteger(i18n("Go to Page"), i18n("Page:"), m_currentPage,
1, m_doc->getNumPages(), 1, &ok/*, _part->widget()*/);
int num = KInputDialog::getInteger(i18n("Go to Page"), i18n("Page:"), m_currentPage,
1, m_doc->getNumPages(), 1, 10, &ok/*, _part->widget()*/);
if (ok)
goToPage( num );
}

@ -184,7 +184,7 @@ Shell::fileSaveAs()
m_part->widget(),
QString::null );
if( !KIO::NetAccess::upload( m_part->url().path(),
saveURL ) )
saveURL, static_cast<QWidget*>( 0 ) ) )
; // TODO: Proper error dialog
}

Loading…
Cancel
Save