summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kolibs/koGlobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/kolibs/koGlobal.h')
-rw-r--r--kexi/3rdparty/kolibs/koGlobal.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/3rdparty/kolibs/koGlobal.h b/kexi/3rdparty/kolibs/koGlobal.h
index bab9c261..367a150b 100644
--- a/kexi/3rdparty/kolibs/koGlobal.h
+++ b/kexi/3rdparty/kolibs/koGlobal.h
@@ -22,9 +22,9 @@
#ifndef koGlobal_h
#define koGlobal_h
-#include <qstringlist.h>
-#include <qfont.h>
-#include <qmap.h>
+#include <tqstringlist.h>
+#include <tqfont.h>
+#include <tqmap.h>
class KConfig;
#include <koffice_export.h>
@@ -39,9 +39,9 @@ public:
* Return the default font for KOffice programs.
* This is (currently) the same as the KDE-global default font,
* except that it is guaranteed to have a point size set,
- * never a pixel size (see @ref QFont).
+ * never a pixel size (see @ref TQFont).
*/
- static QFont defaultFont() {
+ static TQFont defaultFont() {
return self()->_defaultFont();
}
@@ -66,32 +66,32 @@ public:
/// Return the list of available languages, in their displayable form
/// (translated names)
- static QStringList listOfLanguages() {
+ static TQStringList listOfLanguages() {
return self()->_listOfLanguages();
}
/// Return the list of available languages, in their internal form
/// e.g. "fr" or "en_US", here called "tag"
- static QStringList listTagOfLanguages() { // TODO rename to listOfLanguageTags
+ static TQStringList listTagOfLanguages() { // TODO rename to listOfLanguageTags
return self()->_listOfLanguageTags();
}
/// For a given language display name, return its tag
- static QString tagOfLanguage( const QString & _lang );
+ static TQString tagOfLanguage( const TQString & _lang );
/// For a given language tag, return its display name
- static QString languageFromTag( const QString &_lang );
+ static TQString languageFromTag( const TQString &_lang );
~KoGlobal();
private:
static KoGlobal* self();
KoGlobal();
- QFont _defaultFont();
- QStringList _listOfLanguages();
- QStringList _listOfLanguageTags();
+ TQFont _defaultFont();
+ TQStringList _listOfLanguages();
+ TQStringList _listOfLanguageTags();
KConfig* _kofficeConfig();
void createListOfLanguages();
int m_pointSize;
- typedef QMap<QString, QString> LanguageMap;
+ typedef TQMap<TQString, TQString> LanguageMap;
LanguageMap m_langMap; // display-name -> language tag
KConfig* m_kofficeConfig;
int m_dpiX;