summaryrefslogtreecommitdiffstats
path: root/kanagram/src/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kanagram/src/main.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/main.cpp')
-rw-r--r--kanagram/src/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kanagram/src/main.cpp b/kanagram/src/main.cpp
index ec0265b4..5ecbb800 100644
--- a/kanagram/src/main.cpp
+++ b/kanagram/src/main.cpp
@@ -35,22 +35,22 @@ int main(int argc, char *argv[])
about.addCredit("Artemiy Pavlov", I18N_NOOP("Sound effects"), 0, "http://artemiolabs.com");
KCmdLineArgs::init(argc, argv, &about);
KApplication app;
- app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
+ app.connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));
KanagramSettings::setJustGotFont(false);
- QFont f("squeaky chalk sound");
- if (!QFontInfo(f).exactMatch())
+ TQFont f("squeaky chalk sound");
+ if (!TQFontInfo(f).exactMatch())
{
KanagramSettings::setUseStandardFonts(true);
}
if (KanagramSettings::dataLanguage().isEmpty())
{
- QStringList userLanguagesCode = KGlobal::locale()->languageList();
- QStringList::const_iterator itEnd = userLanguagesCode.end();
- QStringList::const_iterator it = userLanguagesCode.begin();
+ TQStringList userLanguagesCode = KGlobal::locale()->languageList();
+ TQStringList::const_iterator itEnd = userLanguagesCode.end();
+ TQStringList::const_iterator it = userLanguagesCode.begin();
for ( ; it != itEnd; ++it)
{
- QStringList mdirs = KGlobal::dirs()->findDirs("appdata", "data/" + *it);
+ TQStringList mdirs = KGlobal::dirs()->findDirs("appdata", "data/" + *it);
if (!mdirs.isEmpty()) break;
}
if (it == itEnd) KanagramSettings::setDataLanguage("en");