File indexing completed on 2024-05-05 17:34:05

0001 /*
0002  * SPDX-License-Identifier: GPL-2.0-or-later
0003  * SPDX-FileCopyrightText: 2010, 2012 Jason A. Donenfeld <Jason@zx2c4.com>
0004  */
0005 
0006 #ifndef DICTIONARYRUNNERCONFIG_H
0007 #define DICTIONARYRUNNERCONFIG_H
0008 
0009 #include <KCModule>
0010 class QLineEdit;
0011 
0012 static const char CONFIG_TRIGGERWORD[] = "triggerWord";
0013 
0014 class DictionaryRunnerConfig : public KCModule
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit DictionaryRunnerConfig(QWidget *parent = nullptr, const QVariantList &args = QVariantList());
0020 
0021 public Q_SLOTS:
0022     void save() override;
0023     void load() override;
0024     void defaults() override;
0025 
0026 private:
0027     QLineEdit *m_triggerWord;
0028 };
0029 #endif