mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42: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;
|
int xkbOpcode;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct XkbConfig {
|
class XkbConfig {
|
||||||
|
public:
|
||||||
QString keyboardModel;
|
QString keyboardModel;
|
||||||
QStringList layouts;
|
QStringList layouts;
|
||||||
QStringList variants;
|
QStringList variants;
|
||||||
|
@ -64,7 +65,8 @@ struct XkbConfig {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct LayoutUnit {
|
class LayoutUnit {
|
||||||
|
public:
|
||||||
static const int MAX_LABEL_LENGTH;
|
static const int MAX_LABEL_LENGTH;
|
||||||
|
|
||||||
//TODO: move these to private?
|
//TODO: move these to private?
|
||||||
|
@ -106,7 +108,8 @@ private:
|
||||||
QKeySequence shortcut;
|
QKeySequence shortcut;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct LayoutSet {
|
class LayoutSet {
|
||||||
|
public:
|
||||||
QList<LayoutUnit> layouts;
|
QList<LayoutUnit> layouts;
|
||||||
LayoutUnit currentLayout;
|
LayoutUnit currentLayout;
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,8 @@ struct OptionGroupInfo: public ConfigItem {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Rules {
|
class Rules {
|
||||||
|
public:
|
||||||
enum ExtrasFlag { NO_EXTRAS, READ_EXTRAS };
|
enum ExtrasFlag { NO_EXTRAS, READ_EXTRAS };
|
||||||
|
|
||||||
static const char XKB_OPTION_GROUP_SEPARATOR;
|
static const char XKB_OPTION_GROUP_SEPARATOR;
|
||||||
|
|
Loading…
Add table
Reference in a new issue