Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5d884feb authored by Pino Toscano's avatar Pino Toscano

rename slot: setMimeTypes -> slotJobStarted

svn path=/trunk/KDE/kdegraphics/okular/; revision=1166032
parent 89f0eb01
......@@ -252,8 +252,9 @@ m_cliPresentation(false), m_embedMode(detectEmbedMode(parentWidget, parent, args
QDBusConnection::sessionBus().registerObject("/okular", this, QDBusConnection::ExportScriptableSlots);
// connect the started signal to tell the job the mimetypes we like
connect(this, SIGNAL(started(KIO::Job *)), this, SLOT(setMimeTypes(KIO::Job *)));
// connect the started signal to tell the job the mimetypes we like,
// and get some more information from it
connect(this, SIGNAL(started(KIO::Job *)), this, SLOT(slotJobStarted(KIO::Job *)));
// connect the completed signal so we can put the window caption when loading remote files
connect(this, SIGNAL(completed()), this, SLOT(setWindowTitleFromDocument()));
......@@ -725,7 +726,7 @@ void Part::openUrlFromBookmarks(const KUrl &_url)
openUrl( url );
}
void Part::setMimeTypes(KIO::Job *job)
void Part::slotJobStarted(KIO::Job *job)
{
if (job)
{
......
......@@ -161,7 +161,7 @@ class Part : public KParts::ReadOnlyPart, public Okular::DocumentObserver, publi
void cannotQuit();
void slotShowFindBar();
void slotHideFindBar();
void setMimeTypes(KIO::Job *job);
void slotJobStarted(KIO::Job *job);
void loadCancelled(const QString &reason);
void setWindowTitleFromDocument();
// can be connected to widget elements
......
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