Diffstat (limited to 'noncore/games/kpacman/keys.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kpacman/keys.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/kpacman/keys.cpp b/noncore/games/kpacman/keys.cpp index 8b17785..07ce135 100644 --- a/noncore/games/kpacman/keys.cpp +++ b/noncore/games/kpacman/keys.cpp @@ -4,25 +4,25 @@ #if defined( KDE2_PORT ) #include <kapp.h> #include <kconfig.h> #include <klocale.h> #include <kstddirs.h> #include <kaccel.h> #include <keys.h> #include <keys.moc> #elif defined( QPE_PORT ) #include <qaccel.h> #include <qpe/qpeapplication.h> -#include "config.h" +#include <qpe/config.h> #include "keys.h" #endif #include <qpushbt.h> #include <qlabel.h> #include <qframe.h> #include <qkeycode.h> #include <qpixmap.h> #include <qstring.h> Keys::Keys( QWidget *parent, const char *name) : QDialog( parent, name, TRUE ) @@ -184,20 +184,22 @@ void Keys::init() QString left("Left"); left = cfg->readEntry("leftKey", (const char*) left); labels[2]->setText(left); QString right("Right"); right = cfg->readEntry("rightKey", (const char*) right); labels[3]->setText(right); APP_CONFIG_END( cfg ); } void Keys::ok() { + /* APP_CONFIG_BEGIN( cfg ); cfg->writeEntry("upKey", (const char*) labels[0]->text() ); cfg->writeEntry("downKey", (const char*) labels[1]->text() ); cfg->writeEntry("leftKey", (const char*) labels[2]->text() ); cfg->writeEntry("rightKey",(const char*) labels[3]->text() ); APP_CONFIG_END( cfg ); + */ accept(); } |