|
|
@ -308,7 +308,7 @@ void KGoldrunner::setupActions()
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(lsMidnight()), actionCollection(),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(lsMidnight()), actionCollection(),
|
|
|
|
"midnight");
|
|
|
|
"midnight");
|
|
|
|
setKDEKool = new KRadioAction (
|
|
|
|
setKDEKool = new KRadioAction (
|
|
|
|
i18n("&KDE Kool"),
|
|
|
|
i18n("&TDE Kool"),
|
|
|
|
0, // Default Shift+K
|
|
|
|
0, // Default Shift+K
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(lsKDEKool()), actionCollection(),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(lsKDEKool()), actionCollection(),
|
|
|
|
"kde_kool");
|
|
|
|
"kde_kool");
|
|
|
@ -642,7 +642,7 @@ void KGoldrunner::lsKGoldrunner() {view->changeLandscape ("KGoldrunner");}
|
|
|
|
void KGoldrunner::lsApple2() {view->changeLandscape ("Apple II");}
|
|
|
|
void KGoldrunner::lsApple2() {view->changeLandscape ("Apple II");}
|
|
|
|
void KGoldrunner::lsIceCave() {view->changeLandscape ("Ice Cave");}
|
|
|
|
void KGoldrunner::lsIceCave() {view->changeLandscape ("Ice Cave");}
|
|
|
|
void KGoldrunner::lsMidnight() {view->changeLandscape ("Midnight");}
|
|
|
|
void KGoldrunner::lsMidnight() {view->changeLandscape ("Midnight");}
|
|
|
|
void KGoldrunner::lsKDEKool() {view->changeLandscape ("KDE Kool");}
|
|
|
|
void KGoldrunner::lsKDEKool() {view->changeLandscape ("TDE Kool");}
|
|
|
|
|
|
|
|
|
|
|
|
// Local slots to set mouse or keyboard control of the hero.
|
|
|
|
// Local slots to set mouse or keyboard control of the hero.
|
|
|
|
|
|
|
|
|
|
|
@ -848,7 +848,7 @@ bool KGoldrunner::getDirectories()
|
|
|
|
if (systemHTMLDir.length() <= 0) {
|
|
|
|
if (systemHTMLDir.length() <= 0) {
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
i18n("Cannot find documentation sub-folder 'en/%1/' "
|
|
|
|
i18n("Cannot find documentation sub-folder 'en/%1/' "
|
|
|
|
"in area '%2' of the KDE folder ($TDEDIRS).")
|
|
|
|
"in area '%2' of the TDE folder ($TDEDIRS).")
|
|
|
|
.arg(myDir).arg(dirs->kde_default ("html")));
|
|
|
|
.arg(myDir).arg(dirs->kde_default ("html")));
|
|
|
|
// result = FALSE; // Don't abort if the doc is missing.
|
|
|
|
// result = FALSE; // Don't abort if the doc is missing.
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -860,7 +860,7 @@ bool KGoldrunner::getDirectories()
|
|
|
|
if (systemDataDir.length() <= 0) {
|
|
|
|
if (systemDataDir.length() <= 0) {
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
i18n("Cannot find system games sub-folder '%1/system/' "
|
|
|
|
i18n("Cannot find system games sub-folder '%1/system/' "
|
|
|
|
"in area '%2' of the KDE folder ($TDEDIRS).")
|
|
|
|
"in area '%2' of the TDE folder ($TDEDIRS).")
|
|
|
|
.arg(myDir).arg(dirs->kde_default ("data")));
|
|
|
|
.arg(myDir).arg(dirs->kde_default ("data")));
|
|
|
|
result = FALSE; // ABORT if the games data is missing.
|
|
|
|
result = FALSE; // ABORT if the games data is missing.
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -873,7 +873,7 @@ bool KGoldrunner::getDirectories()
|
|
|
|
if (userDataDir.length() <= 0) {
|
|
|
|
if (userDataDir.length() <= 0) {
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
i18n("Cannot find or create user games sub-folder '%1/user/' "
|
|
|
|
i18n("Cannot find or create user games sub-folder '%1/user/' "
|
|
|
|
"in area '%2' of the KDE user area ($TDEHOME).")
|
|
|
|
"in area '%2' of the TDE user area ($TDEHOME).")
|
|
|
|
.arg(myDir).arg(dirs->kde_default ("data")));
|
|
|
|
.arg(myDir).arg(dirs->kde_default ("data")));
|
|
|
|
// result = FALSE; // Don't abort if user area is missing.
|
|
|
|
// result = FALSE; // Don't abort if user area is missing.
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -882,7 +882,7 @@ bool KGoldrunner::getDirectories()
|
|
|
|
if (! create) {
|
|
|
|
if (! create) {
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
KGrMessage::information (this, i18n("Get Folders"),
|
|
|
|
i18n("Cannot find or create 'levels/' folder in "
|
|
|
|
i18n("Cannot find or create 'levels/' folder in "
|
|
|
|
"sub-folder '%1/user/' in the KDE user area ($TDEHOME).").arg(myDir));
|
|
|
|
"sub-folder '%1/user/' in the TDE user area ($TDEHOME).").arg(myDir));
|
|
|
|
// result = FALSE; // Don't abort if user area is missing.
|
|
|
|
// result = FALSE; // Don't abort if user area is missing.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|