katesessions.h   katesessions.h 
skipping to change at line 24 skipping to change at line 24
using namespace Plasma; using namespace Plasma;
class KateSessions : public AbstractRunner class KateSessions : public AbstractRunner
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit KateSessions(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args); explicit KateSessions(QObject *parent, const KPluginMetaData &metaData, 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:
const QLatin1String m_triggerWord = QLatin1String("kate"); const QLatin1String m_triggerWord = QLatin1String("kate");
ProfilesModel m_model; ProfilesModel *m_model = nullptr; // WARNING: must be on the correct th read. cannot live on stack!
}; };
#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/