diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:45:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:45:16 -0600 |
commit | f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 (patch) | |
tree | b312fd7d5b7a34b88941b2fc50661431637b78b4 /kreversi | |
parent | 23a5c62758c4898e3afc1b8bb4c3ae78f4b526ac (diff) | |
download | tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.tar.gz tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kreversi')
-rw-r--r-- | kreversi/board.cpp | 4 | ||||
-rw-r--r-- | kreversi/kreversi.cpp | 2 | ||||
-rw-r--r-- | kreversi/kreversi.kcfg | 2 | ||||
-rw-r--r-- | kreversi/main.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/kreversi/board.cpp b/kreversi/board.cpp index 8950fc8f..6f9c7a57 100644 --- a/kreversi/board.cpp +++ b/kreversi/board.cpp @@ -56,7 +56,7 @@ #ifndef PICDATA -#define PICDATA(x) KGlobal::dirs()->findResource("appdata", TQString("pics/")+ x) +#define PICDATA(x) TDEGlobal::dirs()->findResource("appdata", TQString("pics/")+ x) #endif const uint HINT_BLINKRATE = 250000; @@ -109,7 +109,7 @@ void QReversiBoardView::loadChips(ChipType type) TQString name("pics/"); name += (type==Colored ? "chips.png" : "chips_mono.png"); - TQString s = KGlobal::dirs()->findResource("appdata", name); + TQString s = TDEGlobal::dirs()->findResource("appdata", name); bool ok = allchips.load(s); Q_ASSERT( ok && allchips.width()==CHIP_SIZE*5 diff --git a/kreversi/kreversi.cpp b/kreversi/kreversi.cpp index eee245b0..22d1f5c5 100644 --- a/kreversi/kreversi.cpp +++ b/kreversi/kreversi.cpp @@ -74,7 +74,7 @@ #ifndef PICDATA #define PICDATA(x) \ - KGlobal::dirs()->findResource("appdata", TQString("pics/") + x) + TDEGlobal::dirs()->findResource("appdata", TQString("pics/") + x) #endif diff --git a/kreversi/kreversi.kcfg b/kreversi/kreversi.kcfg index c1dc6e52..900a3cdf 100644 --- a/kreversi/kreversi.kcfg +++ b/kreversi/kreversi.kcfg @@ -55,7 +55,7 @@ </entry> <entry name="BackgroundImage" type="Path"> <label>Image to use as background.</label> - <code>#define PICDATA(x) KGlobal::dirs()->findResource("appdata", QString("pics/")+ x)</code> + <code>#define PICDATA(x) TDEGlobal::dirs()->findResource("appdata", QString("pics/")+ x)</code> <default code="true">PICDATA("background/Light_Wood.png")</default> </entry> <entry name="MenubarVisible" type="Bool" key="menubar visible"> diff --git a/kreversi/main.cpp b/kreversi/main.cpp index 1bf0ef79..711559a6 100644 --- a/kreversi/main.cpp +++ b/kreversi/main.cpp @@ -67,7 +67,7 @@ int main(int argc, char **argv) TDECmdLineArgs::init( argc, argv, &aboutData ); TDEApplication a; - KGlobal::locale()->insertCatalogue("libtdegames"); + TDEGlobal::locale()->insertCatalogue("libtdegames"); // used for loading background pixmaps KImageIO::registerFormats(); |