mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
[keyboard] Move configuration to the Config object
- information from the configuration file -> Config object - job creation -> Config object Ignore keyboardq for now.
This commit is contained in:
parent
0f6602cad7
commit
c7c7e6a6c1
6 changed files with 60 additions and 51 deletions
|
@ -33,13 +33,14 @@ public:
|
|||
|
||||
void init();
|
||||
|
||||
Calamares::JobList
|
||||
createJobs( const QString& xOrgConfFileName, const QString& convertedKeymapPath, bool writeEtcDefaultKeyboard );
|
||||
Calamares::JobList createJobs();
|
||||
QString prettyStatus() const;
|
||||
|
||||
void onActivate();
|
||||
void finalize();
|
||||
|
||||
void setConfigurationMap( const QVariantMap& configurationMap );
|
||||
|
||||
private:
|
||||
void guessLayout( const QStringList& langParts );
|
||||
void updateVariants( const QPersistentModelIndex& currentItem, QString currentVariant = QString() );
|
||||
|
@ -53,6 +54,12 @@ private:
|
|||
QString m_selectedVariant;
|
||||
QTimer m_setxkbmapTimer;
|
||||
|
||||
// From configuration
|
||||
QString m_xOrgConfFileName;
|
||||
QString m_convertedKeymapPath;
|
||||
bool m_writeEtcDefaultKeyboard = true;
|
||||
|
||||
|
||||
protected:
|
||||
KeyboardModelsModel* keyboardModels() const;
|
||||
KeyboardLayoutModel* keyboardLayouts() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue