[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kgeography
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2004-10-10 19:11:28
Message-ID: 20041010191128.AC7D116B83 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Add a disclaimer, would be good if a better english speaker than me reviewd it text
M +3 -0 Changelog 1.25
M +22 -15 src/kgeography.cpp 1.25
M +7 -6 src/kgeography.h 1.14
M +3 -0 src/kgeographyui.rc 1.7
--- kdenonbeta/kgeography/Changelog #1.24:1.25
@@ -1,2 +1,5 @@
+2004-09-10 Albert Astals Cid <tsdgeos@terra.es>
+ * Put a discalimer
+
2004-09-09 Albert Astals Cid <tsdgeos@terra.es>
* Cararas -> Caracas
--- kdenonbeta/kgeography/src/kgeography.cpp #1.24:1.25
@@ -74,4 +74,6 @@ kgeography::kgeography() : KMainWindow()
p_move -> setEnabled(false);
+ new KAction(i18n("Disclaimer"), 0, this, SLOT(disclaimer()), \
actionCollection(), "disclaimer"); +
file = kgeographySettings::self() -> lastMap();
@@ -250,3 +252,8 @@ void kgeography::setMap(map *m)
}
+void kgeography::disclaimer()
+{
+ KMessageBox::information(this, i18n("Maps, flags, translations, etc. are as \
accurate as their respective authors could achieve, but KGeography should not be \
taken as a authoritative source."), i18n("Disclaimer")); +}
+
#include "kgeography.moc"
--- kdenonbeta/kgeography/src/kgeography.h #1.13:1.14
@@ -41,4 +41,5 @@ Q_OBJECT
void askFlagDivisions();
void askDivisionFlags();
+ void disclaimer();
private:
--- kdenonbeta/kgeography/src/kgeographyui.rc #1.6:1.7
@@ -11,4 +11,7 @@
<Action name="move" />
</Menu>
+ <Menu name="help">
+ <Action name="disclaimer"/>
+ </Menu>
</MenuBar>
<ToolBar name="mainToolBar">
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic