summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokemodrUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-06-09 17:25:37 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-06-09 17:25:37 +0000
commitbfd8c384cec5f75c381cbf07b7982afc8be03fb5 (patch)
treed7202ff44f456319e20dda9cc2c5cf5934871c3c /pokemodr/PokemodrUI.cpp
parent57654f11288180e5663f99a1da1cd7a4cf06ad0f (diff)
downloadsigen-bfd8c384cec5f75c381cbf07b7982afc8be03fb5.tar.gz
sigen-bfd8c384cec5f75c381cbf07b7982afc8be03fb5.tar.xz
sigen-bfd8c384cec5f75c381cbf07b7982afc8be03fb5.zip
[FIX] Added some signals to Arena
[FIX] Cleaned up some stuff in other .pro files [FIX] Renamed everywhere to use "Pokémodr" and "Pokégen" git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@204 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokemodrUI.cpp')
-rw-r--r--pokemodr/PokemodrUI.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/pokemodr/PokemodrUI.cpp b/pokemodr/PokemodrUI.cpp
index 423daf82..0cc15987 100644
--- a/pokemodr/PokemodrUI.cpp
+++ b/pokemodr/PokemodrUI.cpp
@@ -94,7 +94,7 @@ void Pokemodr::PokemodrUI::closeEvent(QCloseEvent* event)
void Pokemodr::PokemodrUI::setChangedTitle(const bool changed)
{
- setWindowTitle(QString::fromUtf8("%1%2 - PokéModr").arg(treePokemod->description(treePokemod->currentIndex()), changed ? "*" : ""));
+ setWindowTitle(QString::fromUtf8("%1%2 - Pokémodr").arg(treePokemod->description(treePokemod->currentIndex()), changed ? "*" : ""));
}
void Pokemodr::PokemodrUI::setDirty(const bool dirty)
@@ -110,7 +110,7 @@ void Pokemodr::PokemodrUI::newPokemod()
void Pokemodr::PokemodrUI::openPokemod()
{
- KUrl::List urls = KFileDialog::getOpenUrls(KUrl("kfiledialog:///pokemod"), QString::fromUtf8("*.pmod|PokéMod files"), this);
+ KUrl::List urls = KFileDialog::getOpenUrls(KUrl("kfiledialog:///pokemod"), QString::fromUtf8("*.pmod|Pokémod files"), this);
foreach (KUrl url, urls)
{
if (!url.isEmpty())
@@ -123,7 +123,7 @@ bool Pokemodr::PokemodrUI::openPokemod(const KUrl& url)
bool opened = false;
if (treePokemod->isOpen(url))
{
- KMessageBox::error(this, "File is already opened", QString::fromUtf8("PokéMod error"));
+ KMessageBox::error(this, "File is already opened", QString::fromUtf8("Pokémod error"));
return false;
}
if (url.isLocalFile())
@@ -158,10 +158,10 @@ bool Pokemodr::PokemodrUI::openPokemod(const QString& path, const bool isRemote)
return true;
}
else
- KMessageBox::error(this, QString::fromUtf8("The file is not a PokéMod."), QString::fromUtf8("Invalid PokéMod"));
+ KMessageBox::error(this, QString::fromUtf8("The file is not a Pokémod."), QString::fromUtf8("Invalid Pokémod"));
}
else
- KMessageBox::error(this, "The file is not a valid XML file.", QString::fromUtf8("Invalid PokéMod"));
+ KMessageBox::error(this, "The file is not a valid XML file.", QString::fromUtf8("Invalid Pokémod"));
file.close();
}
else
@@ -198,7 +198,7 @@ bool Pokemodr::PokemodrUI::savePokemod(const Pokemod::Pokemod* pokemod, const KU
return true;
}
else
- KMessageBox::error(this, QString::fromUtf8("Error saving the PokéMod!"), "Save error");
+ KMessageBox::error(this, QString::fromUtf8("Error saving the Pokémod!"), "Save error");
}
else
{
@@ -215,7 +215,7 @@ bool Pokemodr::PokemodrUI::savePokemod(const Pokemod::Pokemod* pokemod, const KU
KMessageBox::error(this, KIO::NetAccess::lastErrorString(), "KIO Error");
}
else
- KMessageBox::error(this, QString::fromUtf8("Error saving the PokéMod!"), "Save error");
+ KMessageBox::error(this, QString::fromUtf8("Error saving the Pokémod!"), "Save error");
}
}
return false;
@@ -230,7 +230,7 @@ void Pokemodr::PokemodrUI::saveAsPokemod(const Pokemod::Pokemod* pokemod)
{
if (pokemod)
{
- KUrl url = KFileDialog::getSaveUrl(KUrl("kfiledialog:///pokemod"), QString::fromUtf8("*.pmod|PokéMod files"), this, QString::fromUtf8("Open PokéMod"));
+ KUrl url = KFileDialog::getSaveUrl(KUrl("kfiledialog:///pokemod"), QString::fromUtf8("*.pmod|Pokémod files"), this, QString::fromUtf8("Open Pokémod"));
if (!url.isEmpty())
{
if (savePokemod(pokemod, url))
@@ -252,9 +252,9 @@ bool Pokemodr::PokemodrUI::closePokemod(const Pokemod::Pokemod* pokemod, const b
{
int result;
if (force)
- result = KMessageBox::questionYesNo(this, "You have unsaved changes, would you like to save them?", QString::fromUtf8("Unsaved PokéMod"));
+ result = KMessageBox::questionYesNo(this, "You have unsaved changes, would you like to save them?", QString::fromUtf8("Unsaved Pokémod"));
else
- result = KMessageBox::questionYesNoCancel(this, "You have unsaved changes, would you like to save them?", QString::fromUtf8("Unsaved PokéMod"));
+ result = KMessageBox::questionYesNoCancel(this, "You have unsaved changes, would you like to save them?", QString::fromUtf8("Unsaved PokémMod"));
switch (result)
{
case KMessageBox::Yes: