Changeset View
Changeset View
Standalone View
Standalone View
src/util/externalcommand.h
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | 71 | public: | |||
---|---|---|---|---|---|
116 | 116 | | |||
117 | /**< Sets a parent widget for the authentication dialog. | 117 | /**< Sets a parent widget for the authentication dialog. | ||
118 | * @param p parent widget | 118 | * @param p parent widget | ||
119 | */ | 119 | */ | ||
120 | static void setParentWidget(QWidget *p) { | 120 | static void setParentWidget(QWidget *p) { | ||
121 | parent = p; | 121 | parent = p; | ||
122 | } | 122 | } | ||
123 | 123 | | |||
124 | | ||||
125 | // Application side functions, used by startHelper() | ||||
126 | void executeAction(const QString &action, const QString &helperID, const QVariantMap &arguments, int timeout = -1); | ||||
127 | | ||||
128 | void stopAction(const QString &action, const QString &helperID); | ||||
129 | | ||||
124 | Q_SIGNALS: | 130 | Q_SIGNALS: | ||
125 | void progress(int); | 131 | void progress(int); | ||
126 | void reportSignal(const QVariantMap&); | 132 | void reportSignal(const QVariantMap&); | ||
127 | 133 | | |||
128 | public Q_SLOTS: | 134 | public Q_SLOTS: | ||
129 | void emitProgress(KJob*, unsigned long percent) { emit progress(percent); } | 135 | void emitProgress(KJob*, unsigned long percent) { emit progress(percent); } | ||
130 | 136 | | |||
131 | private: | 137 | private: | ||
Show All 13 Lines |