Changeset View
Changeset View
Standalone View
Standalone View
kcms/componentchooser/componentchooserterminal.h
1 | /*************************************************************************** | 1 | /*************************************************************************** | ||
---|---|---|---|---|---|
2 | componentchooserterminal.h - description | 2 | componentchooserterminal.h - description | ||
3 | ------------------- | 3 | ------------------- | ||
4 | copyright : (C) 2002 by Joseph Wenninger | 4 | copyright : (C) 2002 by Joseph Wenninger <jowenn@kde.org> | ||
5 | email : jowenn@kde.org | 5 | copyright : (C) 2020 by Méven Car <meven.car@enioka.com> | ||
6 | ***************************************************************************/ | 6 | ***************************************************************************/ | ||
7 | 7 | | |||
8 | /*************************************************************************** | 8 | /*************************************************************************** | ||
9 | * * | 9 | * * | ||
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * | ||
11 | * it under the terms of the GNU General Public License version 2 as * | 11 | * it under the terms of the GNU General Public License version 2 as * | ||
12 | * published by the Free Software Foundationi * | 12 | * published by the Free Software Foundationi * | ||
13 | * * | 13 | * * | ||
Show All 15 Lines | 27 | public: | |||
29 | ~CfgTerminalEmulator() override; | 29 | ~CfgTerminalEmulator() override; | ||
30 | void load(KConfig *cfg) override; | 30 | void load(KConfig *cfg) override; | ||
31 | void save(KConfig *cfg) override; | 31 | void save(KConfig *cfg) override; | ||
32 | void defaults() override; | 32 | void defaults() override; | ||
33 | bool isDefaults() const override; | 33 | bool isDefaults() const override; | ||
34 | 34 | | |||
35 | protected Q_SLOTS: | 35 | protected Q_SLOTS: | ||
36 | void selectTerminalApp(); | 36 | void selectTerminalApp(); | ||
37 | void configChanged(); | 37 | void selectTerminalEmulator(int index); | ||
38 | 38 | | |||
39 | Q_SIGNALS: | 39 | Q_SIGNALS: | ||
40 | void changed(bool); | 40 | void changed(bool); | ||
41 | | ||||
42 | private: | ||||
43 | int m_currentIndex = -1; | ||||
44 | int m_konsoleIndex = -1; | ||||
41 | }; | 45 | }; | ||
42 | 46 | | |||
43 | #endif | 47 | #endif |