summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder/klangcombo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /keduca/keducabuilder/klangcombo.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'keduca/keducabuilder/klangcombo.cpp')
-rw-r--r--keduca/keducabuilder/klangcombo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/keduca/keducabuilder/klangcombo.cpp b/keduca/keducabuilder/klangcombo.cpp
index 1d86c09e..0371b7af 100644
--- a/keduca/keducabuilder/klangcombo.cpp
+++ b/keduca/keducabuilder/klangcombo.cpp
@@ -3,7 +3,7 @@
*
* Copyright (c) 1999-2000 Hans Petter Bieker <bieker@kde.org>
*
- * Requires the Qt widget libraries, available at no cost at
+ * Requires the TQt widget libraries, available at no cost at
* http://www.troll.no/
*
* This program is free software; you can redistribute it and/or modify
@@ -31,21 +31,21 @@ KLanguageCombo::~KLanguageCombo ()
{
}
-KLanguageCombo::KLanguageCombo (TQWidget * parent, const char *name)
- : KTagComboBox(parent, name)
+KLanguageCombo::KLanguageCombo (TQWidget * tqparent, const char *name)
+ : KTagComboBox(tqparent, name)
{
}
void KLanguageCombo::insertLanguage(const TQString& path, const TQString& name, const TQString& sub, const TQString &submenu)
{
- TQString output = name + TQString::fromLatin1(" (") + path + TQString::fromLatin1(")");
- TQPixmap flag(locate("locale", sub + path + TQString::fromLatin1("/flag.png")));
+ TQString output = name + TQString::tqfromLatin1(" (") + path + TQString::tqfromLatin1(")");
+ TQPixmap flag(locate("locale", sub + path + TQString::tqfromLatin1("/flag.png")));
insertItem(TQIconSet(flag), output, path, submenu);
}
void KLanguageCombo::changeLanguage(const TQString& name, int i)
{
if (i < 0 || i >= count()) return;
- TQString output = name + TQString::fromLatin1(" (") + tag(i) + TQString::fromLatin1(")");
+ TQString output = name + TQString::tqfromLatin1(" (") + tag(i) + TQString::tqfromLatin1(")");
changeItem(output, i);
}