summaryrefslogtreecommitdiff
path: root/noncore/games/kpacman/portable.h
authorzecke <zecke>2003-01-22 14:52:17 (UTC)
committer zecke <zecke>2003-01-22 14:52:17 (UTC)
commit36fab41fa6b38b9f3aa5ecd74b750eaf739beb16 (patch) (unidiff)
tree44c886f9d6673b8d0ac1c446fa9cbcabad6d9bb3 /noncore/games/kpacman/portable.h
parentaa611367a06617e9ad12bd6787ce255a5965f695 (diff)
downloadopie-36fab41fa6b38b9f3aa5ecd74b750eaf739beb16.zip
opie-36fab41fa6b38b9f3aa5ecd74b750eaf739beb16.tar.gz
opie-36fab41fa6b38b9f3aa5ecd74b750eaf739beb16.tar.bz2
make it build with Qt/X11
for running one need to copy the kpacman.conf from share/kpacman to ~/Settings
Diffstat (limited to 'noncore/games/kpacman/portable.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kpacman/portable.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/noncore/games/kpacman/portable.h b/noncore/games/kpacman/portable.h
index ff0912b..b087be5 100644
--- a/noncore/games/kpacman/portable.h
+++ b/noncore/games/kpacman/portable.h
@@ -10,30 +10,25 @@
10/*************************************************************************** 10/***************************************************************************
11 * * 11 * *
12 * This program is free software; you can redistribute it and/or modify * 12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by * 13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or * 14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. * 15 * (at your option) any later version. *
16 * * 16 * *
17 ***************************************************************************/ 17 ***************************************************************************/
18 18
19#ifndef PORTABLE_H 19#ifndef PORTABLE_H
20#define PORTABLE_H 20#define PORTABLE_H
21 21
22#ifdef QWS
23#define QPE_PORT 22#define QPE_PORT
24#else
25#define KDE2_PORT
26#define KDE_PORT
27#endif
28 23
29#if defined( KDE2_PORT ) 24#if defined( KDE2_PORT )
30 25
31#define APP kapp 26#define APP kapp
32 27
33#define APP_CONFIG_BEGIN( cfgname ) KConfig cfgname = kapp->config() 28#define APP_CONFIG_BEGIN( cfgname ) KConfig cfgname = kapp->config()
34#define APP_CONFIG_END( cfgname ) cfgname->sync() 29#define APP_CONFIG_END( cfgname ) cfgname->sync()
35#define SAVE_CONFIG_GROUP( cfgname, groupname ) QString groupname = configname->group() 30#define SAVE_CONFIG_GROUP( cfgname, groupname ) QString groupname = configname->group()
36#define RESTORE_CONFIG_GROUP( cfgname, groupname ) configname->setGroup( groupname ) 31#define RESTORE_CONFIG_GROUP( cfgname, groupname ) configname->setGroup( groupname )
37 32
38#define FIND_APP_DATA( dataname ) KGlobal::dirs()->findResource( "appdata", dataname ) 33#define FIND_APP_DATA( dataname ) KGlobal::dirs()->findResource( "appdata", dataname )
39 34