Commit fc080144 authored by Dominique Devriese's avatar Dominique Devriese

remove some modifications I made to make it build on 3.1

svn path=/trunk/kdegraphics/kpdf/; revision=276110
parent 5b35aa8b
......@@ -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
}
......
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