KDEUI
kuiserverjobtracker.cpp
Go to the documentation of this file.
94 QDBusReply<QDBusObjectPath> reply = serverProxy->uiserver().requestView(componentData.aboutData()->programName(),
131 qWarning() << "Uh-oh...KUiServerJobTracker was trying to forward a job, but it was deleted from under us."
132 << "kuiserver *may* have a stranded job. we can't do anything about it because the returned objectPath is invalid.";
316 kDebug() << "The dbus name org.kde.JobViewServer is STILL NOT REGISTERED, even after starting kuiserver. Should not happen.";
virtual void percent(KJob *job, unsigned long percent)
Definition: kuiserverjobtracker.cpp:279
virtual void description(KJob *job, const QString &title, const QPair< QString, QString > &field1, const QPair< QString, QString > &field2)
Definition: kuiserverjobtracker.cpp:195
QString appName() const
virtual void suspended(KJob *job)
Definition: kuiserverjobtracker.cpp:173
virtual void infoMessage(KJob *job, const QString &plain, const QString &rich)
Definition: kuiserverjobtracker.cpp:220
virtual void registerJob(KJob *job)
Register a new job in this tracker.
Definition: kuiserverjobtracker.cpp:79
#define K_GLOBAL_STATIC(TYPE, NAME)
virtual void totalAmount(KJob *job, KJob::Unit unit, qulonglong amount)
Definition: kuiserverjobtracker.cpp:233
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool isValid() const
virtual void processedAmount(KJob *job, KJob::Unit unit, qulonglong amount)
Definition: kuiserverjobtracker.cpp:256
QDBusConnection sessionBus()
const KAboutData * aboutData() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
The interface to implement to track the progresses of a job.
Definition: kuiserverjobtracker.h:31
static int startServiceByDesktopPath(const QString &_name, const QString &URL, QString *error=0, QString *serviceName=0, int *pid=0, const QByteArray &startup_id=QByteArray(), bool noWait=false)
QVariant property(const char *name) const
virtual ~KUiServerJobTracker()
Destroys a KJobTrackerInterface.
Definition: kuiserverjobtracker.cpp:69
Type value() const
bool isEmpty() const
virtual void speed(KJob *job, unsigned long value)
Definition: kuiserverjobtracker.cpp:290
QString programName() const
const KComponentData & mainComponent()
bool isValid() const
virtual void unregisterJob(KJob *job)
virtual void registerJob(KJob *job)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString programIconName() const
virtual void unregisterJob(KJob *job)
Unregister a job from this tracker.
Definition: kuiserverjobtracker.cpp:139
virtual void finished(KJob *job)
The following slots are inherited from KJobTrackerInterface.
Definition: kuiserverjobtracker.cpp:158
KUiServerJobTracker(QObject *parent=0)
Creates a new KJobTrackerInterface.
Definition: kuiserverjobtracker.cpp:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.