diff options
Diffstat (limited to 'sip/tdecore/klocale.sip')
-rw-r--r-- | sip/tdecore/klocale.sip | 146 |
1 files changed, 73 insertions, 73 deletions
diff --git a/sip/tdecore/klocale.sip b/sip/tdecore/klocale.sip index ffe12a0..238c9a7 100644 --- a/sip/tdecore/klocale.sip +++ b/sip/tdecore/klocale.sip @@ -32,15 +32,15 @@ class KLocale public: - KLocale (const QString&, KConfig* = 0); + KLocale (const TQString&, KConfig* = 0); //ig KLocale (const KLocale&); - QString translate (const char*) const; - QString translate (const char*, const char*) const; - QString translate (const char*, const char*, ulong) const; + TQString translate (const char*) const; + TQString translate (const char*, const char*) const; + TQString translate (const char*, const char*, ulong) const; bool setEncoding (int); - bool setLanguage (const QString&); - bool setLanguage (const QStringList&); - bool setCountry (const QString&); + bool setLanguage (const TQString&); + bool setLanguage (const TQStringList&); + bool setCountry (const TQString&); enum SignPosition { @@ -51,29 +51,29 @@ public: AfterMoney }; - QString decimalSymbol () const; - QString thousandsSeparator () const; - QString currencySymbol () const; - QString monetaryDecimalSymbol () const; - QString monetaryThousandsSeparator () const; - QString positiveSign () const; - QString negativeSign () const; + TQString decimalSymbol () const; + TQString thousandsSeparator () const; + TQString currencySymbol () const; + TQString monetaryDecimalSymbol () const; + TQString monetaryThousandsSeparator () const; + TQString positiveSign () const; + TQString negativeSign () const; int fracDigits () const; bool positivePrefixCurrencySymbol () const; bool negativePrefixCurrencySymbol () const; SignPosition positiveMonetarySignPosition () const; SignPosition negativeMonetarySignPosition () const; - QString formatMoney (double, const QString& = QString ::null , int = -1) const; - QString formatNumber (double, int = -1) const; - QString formatNumber (const QString&) const; + TQString formatMoney (double, const TQString& = TQString ::null , int = -1) const; + TQString formatNumber (double, int = -1) const; + TQString formatNumber (const TQString&) const; %If ( KDE_3_5_0 - ) - QString formatNumber (const QString&, bool, int) const; + TQString formatNumber (const TQString&, bool, int) const; %End %If ( KDE_3_2_0 - ) - QString formatLong (long) const; + TQString formatLong (long) const; %End @@ -81,18 +81,18 @@ public: bool nounDeclension () const; %End - QString formatDate (const QDate&, bool = 0) const; + TQString formatDate (const TQDate&, bool = 0) const; %If ( KDE_3_1_0 - ) bool dateMonthNamePossessive () const; %If ( KDE_3_3_0 - ) - QString formatTime (const QTime&, bool, bool) const; + TQString formatTime (const TQTime&, bool, bool) const; %End %End - QString formatTime (const QTime&, bool = 0) const; + TQString formatTime (const TQTime&, bool = 0) const; bool use12Clock () const; bool weekStartsMonday () const; @@ -100,25 +100,25 @@ public: int weekStartDay () const; %End - QString monthName (int, bool = 0) const; + TQString monthName (int, bool = 0) const; %If ( KDE_3_1_0 - ) - QString monthNamePossessive (int, bool = 0) const; + TQString monthNamePossessive (int, bool = 0) const; %End - QString weekDayName (int, bool = 0) const; + TQString weekDayName (int, bool = 0) const; %If ( KDE_3_2_0 - ) const KCalendarSystem* calendar () const; - QString calendarType () const; - void setCalendar (const QString&); + TQString calendarType () const; + void setCalendar (const TQString&); %End - QString formatDateTime (const QDateTime&, bool, bool = 0) const; - double readMoney (const QString&, bool* = 0) const; - double readNumber (const QString&, bool* = 0) const; - QDate readDate (const QString&, bool* = 0) const; - QDate readDate (const QString&, const QString&, bool* = 0) const; + TQString formatDateTime (const TQDateTime&, bool, bool = 0) const; + double readMoney (const TQString&, bool* = 0) const; + double readNumber (const TQString&, bool* = 0) const; + TQDate readDate (const TQString&, bool* = 0) const; + TQDate readDate (const TQString&, const TQString&, bool* = 0) const; %If ( KDE_3_2_0 - ) @@ -128,10 +128,10 @@ public: ShortFormat }; - QDate readDate (const QString&, KLocale::ReadDateFlags, bool* = 0) const; + TQDate readDate (const TQString&, KLocale::ReadDateFlags, bool* = 0) const; %End - QTime readTime (const QString&, bool* = 0) const; + TQTime readTime (const TQString&, bool* = 0) const; %If ( KDE_3_2_0 - ) @@ -141,50 +141,50 @@ public: WithoutSeconds }; - QTime readTime (const QString&, KLocale::ReadTimeFlags, bool* = 0) const; + TQTime readTime (const TQString&, KLocale::ReadTimeFlags, bool* = 0) const; %End - QString language () const; - QString country () const; - QStringList languagesTwoAlpha () const; - QStringList languageList () const; + TQString language () const; + TQString country () const; + TQStringList languagesTwoAlpha () const; + TQStringList languageList () const; const char* encoding () const; int encodingMib () const; - QTextCodec* codecForEncoding () const; + TQTextCodec* codecForEncoding () const; %If ( KDE_3_2_0 - ) int fileEncodingMib () const; %End - void setDateFormat (const QString&); - void setDateFormatShort (const QString&); + void setDateFormat (const TQString&); + void setDateFormatShort (const TQString&); %If ( KDE_3_1_0 - ) void setDateMonthNamePossessive (bool); %End - void setTimeFormat (const QString&); + void setTimeFormat (const TQString&); void setWeekStartsMonday (bool); %If ( KDE_3_1_0 - ) void setWeekStartDay (int); %End - QString dateFormat () const; - QString dateFormatShort () const; - QString timeFormat () const; - void setDecimalSymbol (const QString&); - void setThousandsSeparator (const QString&); - void setPositiveSign (const QString&); - void setNegativeSign (const QString&); + TQString dateFormat () const; + TQString dateFormatShort () const; + TQString timeFormat () const; + void setDecimalSymbol (const TQString&); + void setThousandsSeparator (const TQString&); + void setPositiveSign (const TQString&); + void setNegativeSign (const TQString&); void setPositiveMonetarySignPosition (KLocale::SignPosition); void setNegativeMonetarySignPosition (KLocale::SignPosition); void setPositivePrefixCurrencySymbol (bool); void setNegativePrefixCurrencySymbol (bool); void setFracDigits (int); - void setMonetaryThousandsSeparator (const QString&); - void setMonetaryDecimalSymbol (const QString&); - void setCurrencySymbol (const QString&); + void setMonetaryThousandsSeparator (const TQString&); + void setMonetaryDecimalSymbol (const TQString&); + void setCurrencySymbol (const TQString&); int pageSize () const; void setPageSize (int); @@ -196,32 +196,32 @@ public: KLocale::MeasureSystem measureSystem () const; void setMeasureSystem (KLocale::MeasureSystem); - void insertCatalogue (const QString&); - void removeCatalogue (const QString&); - void setActiveCatalogue (const QString&); - QString translateQt (const char*, const char*, const char*) const; + void insertCatalogue (const TQString&); + void removeCatalogue (const TQString&); + void setActiveCatalogue (const TQString&); + TQString translateTQt (const char*, const char*, const char*) const; %If ( KDE_3_1_0 - ) - QStringList allLanguagesTwoAlpha () const; - QString twoAlphaToLanguageName (const QString&) const; - QStringList allCountriesTwoAlpha () const; - QString twoAlphaToCountryName (const QString&) const; + TQStringList allLanguagesTwoAlpha () const; + TQString twoAlphaToLanguageName (const TQString&) const; + TQStringList allCountriesTwoAlpha () const; + TQString twoAlphaToCountryName (const TQString&) const; %End - static void splitLocale (const QString&, QString&, QString&, QString&); + static void splitLocale (const TQString&, TQString&, TQString&, TQString&); static void setMainCatalogue (const char*); - static QString langLookup (const QString&, const char* = "html"); - static QString defaultLanguage (); - static QString defaultCountry (); + static TQString langLookup (const TQString&, const char* = "html"); + static TQString defaultLanguage (); + static TQString defaultCountry (); %If ( KDE_3_0_1 - ) - static QString _initLanguage (KConfigBase*); + static TQString _initLanguage (KConfigBase*); %End - QString formatMoney (const QString&) const; - QString languages () const; -//ig bool setCharset (const QString&); -//ig QString charset () const; + TQString formatMoney (const TQString&) const; + TQString languages () const; +//ig bool setCharset (const TQString&); +//ig TQString charset () const; protected: //ig static void initInstance (); @@ -238,6 +238,6 @@ private: #include <klocale.h> %End -QString i18n (const char*); -QString i18n (const char*, const char*); -QString i18n (const char*, const char*, ulong); +TQString i18n (const char*); +TQString i18n (const char*, const char*); +TQString i18n (const char*, const char*, ulong); |