Commit 8f9f67d5 authored by Laurent Montel's avatar Laurent Montel 😁

Improve it

parent 93ff2b8f
......@@ -19,6 +19,7 @@
#include "grammalecteconfigwidget.h"
#include "grammalectegenerateconfigoptionjob.h"
#include <QVBoxLayout>
#include <QTabWidget>
#include <KLocalizedString>
......@@ -37,6 +38,7 @@ GrammalecteConfigWidget::GrammalecteConfigWidget(QWidget *parent)
mainLayout->addWidget(mTab);
mTab->addTab(addGeneralTab(), i18n("General"));
mTab->addTab(addGrammarTab(), i18n("Grammar Settings"));
loadGrammarSettings();
}
GrammalecteConfigWidget::~GrammalecteConfigWidget()
......@@ -44,6 +46,12 @@ GrammalecteConfigWidget::~GrammalecteConfigWidget()
}
void GrammalecteConfigWidget::loadGrammarSettings()
{
GrammalecteGenerateConfigOptionJob *job = new GrammalecteGenerateConfigOptionJob(this);
//TODO
}
QWidget *GrammalecteConfigWidget::addGrammarTab()
{
QWidget *w = new QWidget(this);
......
......@@ -31,6 +31,7 @@ public:
void loadSettings();
void saveSettings();
private:
void loadGrammarSettings();
QWidget *addGeneralTab();
QWidget *addGrammarTab();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment