mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
fix some struct <-> class warnings
This commit is contained in:
parent
0805987233
commit
e510a2a866
2 changed files with 8 additions and 4 deletions
|
@ -54,7 +54,8 @@ private:
|
|||
int xkbOpcode;
|
||||
};
|
||||
|
||||
struct XkbConfig {
|
||||
class XkbConfig {
|
||||
public:
|
||||
QString keyboardModel;
|
||||
QStringList layouts;
|
||||
QStringList variants;
|
||||
|
@ -64,7 +65,8 @@ struct XkbConfig {
|
|||
};
|
||||
|
||||
|
||||
struct LayoutUnit {
|
||||
class LayoutUnit {
|
||||
public:
|
||||
static const int MAX_LABEL_LENGTH;
|
||||
|
||||
//TODO: move these to private?
|
||||
|
@ -106,7 +108,8 @@ private:
|
|||
QKeySequence shortcut;
|
||||
};
|
||||
|
||||
struct LayoutSet {
|
||||
class LayoutSet {
|
||||
public:
|
||||
QList<LayoutUnit> layouts;
|
||||
LayoutUnit currentLayout;
|
||||
|
||||
|
|
|
@ -85,7 +85,8 @@ struct OptionGroupInfo: public ConfigItem {
|
|||
}
|
||||
};
|
||||
|
||||
struct Rules {
|
||||
class Rules {
|
||||
public:
|
||||
enum ExtrasFlag { NO_EXTRAS, READ_EXTRAS };
|
||||
|
||||
static const char XKB_OPTION_GROUP_SEPARATOR;
|
||||
|
|
Loading…
Add table
Reference in a new issue