konsoleprofiles.h | konsoleprofiles.h | |||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
using namespace Plasma; | using namespace Plasma; | |||
class KonsoleProfiles : public AbstractRunner | class KonsoleProfiles : public AbstractRunner | |||
{ | { | |||
Q_OBJECT | Q_OBJECT | |||
public: | public: | |||
explicit KonsoleProfiles(QObject *parent, const KPluginMetaData &metaDa ta, const QVariantList &args); | explicit KonsoleProfiles(QObject *parent, const KPluginMetaData &metaDa ta, const QVariantList &args); | |||
void init() override; | ||||
void match(RunnerContext &context) override; | void match(RunnerContext &context) override; | |||
void run(const RunnerContext &context, const QueryMatch &match) overrid e; | void run(const RunnerContext &context, const QueryMatch &match) overrid e; | |||
private: | private: | |||
ProfilesModel m_model; | ProfilesModel *m_model = nullptr; // WARNING: must be on the correct th read. cannot live on stack! | |||
const QLatin1String m_triggerWord = QLatin1String("konsole"); | const QLatin1String m_triggerWord = QLatin1String("konsole"); | |||
}; | }; | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |