Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/function_keyboard.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp index 977a384..c314949 100644 --- a/noncore/apps/opie-console/function_keyboard.cpp +++ b/noncore/apps/opie-console/function_keyboard.cpp @@ -117,3 +117,3 @@ void FunctionKeyboard::paintKey(int row, int col) { // sometimes it doesnt draw the last line - p.drawLine((col+1) * keyWidth -2, row * keyHeight, + p.drawLine((col+1) * keyWidth -2, row * keyHeight, (col+1) * keyWidth -2, (row + 1) * keyHeight @@ -190,4 +190,4 @@ void FunctionKeyboard::loadDefaults() { -FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* parent) : - ProfileDialogKeyWidget(name, parent) { +FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* parent, const char* na ) + : ProfileDialogKeyWidget(name, parent, na) { @@ -228,4 +228,4 @@ FunctionKeyboardConfig::~FunctionKeyboardConfig() { void FunctionKeyboardConfig::load (const Profile& prof) { - int i = prof.readNumEntry("keb_rows", 1); - //m_rowBox->setValue(i); + //int i = prof.readNumEntry("keb_rows", 1); + m_rowBox->setValue( 2 ); } @@ -233,3 +233,3 @@ void FunctionKeyboardConfig::save (Profile& prof) { - //prof.writeEntry("keb_rows", m_rowBox->value()); + prof.writeEntry("keb_rows", m_rowBox->value()); |