1
/* Copyright 2009 <Jan Gerrit Marker> <jangerrit@weiler-marker.com>
3
* This library is free software; you can redistribute it and/or
4
* modify it under the terms of the GNU Lesser General Public
5
* License as published by the Free Software Foundation; either
6
* version 2.1 of the License, or (at your option) version 3, or any
7
* later version accepted by the membership of KDE e.V. (or its
8
* successor approved by the membership of KDE e.V.), which shall
9
* act as a proxy defined in Section 6 of version 3 of the license.
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef KILLRUNNERCONFIG_H
21
#define KILLRUNNERCONFIG_H
24
#include "ui_killrunner_config.h"
29
static const char CONFIG_USE_TRIGGERWORD[] = "useTriggerWord";
30
static const char CONFIG_TRIGGERWORD[] = "triggerWord";
31
static const char CONFIG_SORTING[] = "sorting";
33
class KillRunnerConfigForm : public QWidget, public Ui::KillRunnerConfigUi
38
explicit KillRunnerConfigForm(QWidget* parent);
41
class KillRunnerConfig : public KCModule
46
explicit KillRunnerConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
48
/** Possibilities to sort */
49
enum Sort {NONE = 0, CPU, CPUI};
57
KillRunnerConfigForm* m_ui;