2015-01-15 17:07:43 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010, 2012 Jason A. Donenfeld <Jason@zx2c4.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DICTIONARYRUNNERCONFIG_H
|
|
|
|
#define DICTIONARYRUNNERCONFIG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <KCModule>
|
2019-05-23 00:08:45 +00:00
|
|
|
#include <QLineEdit>
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
static const char CONFIG_TRIGGERWORD[] = "triggerWord";
|
|
|
|
|
|
|
|
class DictionaryRunnerConfig : public KCModule
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
DictionaryRunnerConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void save();
|
|
|
|
void load();
|
|
|
|
void defaults();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QLineEdit *m_triggerWord;
|
|
|
|
};
|
|
|
|
#endif
|