makeItBuild

svn path=/trunk/playground/graphics/okular/; revision=578661
remotes/origin/KDE/4.0
Albert Astals Cid 20 years ago
parent 4ca38336c0
commit 760fdbcadb
  1. 4
      generators/chm/generator_chm.cpp
  2. 12
      part.cpp
  3. 2
      shell/shell.cpp
  4. 2
      ui/embeddedfilesdialog.cpp
  5. 2
      ui/pageview.cpp

@ -86,7 +86,7 @@ void CHMGenerator::preparePageForSyncOperation( int zoom , const QString & url)
kDebug() << "Url: " << pAddress << endl;
m_syncGen->setZoomFactor(zoom);
m_doneFlagSet=false;
m_syncGen->openURL(pAddress);
m_syncGen->openUrl(pAddress);
m_syncGen->view()->layout();
while (!m_doneFlagSet) { qApp->processEvents(QEventLoop::AllEvents, 50); }
}
@ -192,7 +192,7 @@ void CHMGenerator::generatePixmap( PixmapRequest * request )
m_request=request;
m_state=1;
// will emit openURL without problems
m_syncGen->openURL ( pAddress );
m_syncGen->openUrl ( pAddress );
}

@ -349,9 +349,9 @@ Part::~Part()
void Part::openURLFromDocument(const KUrl &url)
{
m_bExtension->openURLNotify();
m_bExtension->setLocationBarURL(url.prettyUrl());
openURL(url);
m_bExtension->openUrlNotify();
m_bExtension->setLocationBarUrl(url.prettyUrl());
openUrl(url);
}
void Part::supportedMimetypes()
@ -608,7 +608,7 @@ bool Part::openURL(const KUrl &url)
// KTar and proceed with the URL of the temporary file
// this calls in sequence the 'closeURL' and 'openFile' methods
bool openOk = KParts::ReadOnlyPart::openURL(url);
bool openOk = KParts::ReadOnlyPart::openUrl(url);
if ( openOk )
{
@ -660,7 +660,7 @@ bool Part::closeURL()
m_document->closeDocument();
updateViewActions();
m_searchWidget->clearText();
return KParts::ReadOnlyPart::closeURL();
return KParts::ReadOnlyPart::closeUrl();
}
void Part::close()
@ -730,7 +730,7 @@ void Part::slotDoFileDirty()
}
// close and (try to) reopen the document
if ( KParts::ReadOnlyPart::openURL(m_file) )
if ( KParts::ReadOnlyPart::openUrl(m_file) )
{
// on successfull opening, restore the previous viewport
if ( m_viewportDirty.pageNumber >= (int) m_document->pages() )

@ -128,7 +128,7 @@ void Shell::openURL( const KUrl & url )
{
if ( m_part )
{
bool openOk = m_part->openURL( url );
bool openOk = m_part->openUrl( url );
if ( openOk ) m_recent->addUrl( url );
else m_recent->removeUrl( url );
}

@ -44,7 +44,7 @@ EmbeddedFilesDialog::EmbeddedFilesDialog(QWidget *parent, const KPDFDocument *do
KMimeType::Ptr mime = KMimeType::findByPath( ef->name(), 0, true );
if (mime)
{
twi->setIcon(0, KIcon(mime->icon()));
twi->setIcon(0, KIcon(mime->iconName()));
}
twi->setText(1, ef->description());
twi->setText(2, KGlobal::locale()->formatDateTime( ef->creationDate(), false, true ));

@ -1507,7 +1507,7 @@ if (d->document->handleEvent( e ) )
d->messageWindow->display( i18n( "File not saved." ), PageViewMessage::Warning );
else
{
KMimeType::Ptr mime = KMimeType::findByURL( fileName );
KMimeType::Ptr mime = KMimeType::findByUrl( fileName );
QString type;
if ( !mime )
type = "PNG";

Loading…
Cancel
Save