diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kdecore/kaboutdata.cpp | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kaboutdata.cpp')
-rw-r--r-- | kdecore/kaboutdata.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kdecore/kaboutdata.cpp b/kdecore/kaboutdata.cpp index 423166c18..e6aa1a68a 100644 --- a/kdecore/kaboutdata.cpp +++ b/kdecore/kaboutdata.cpp @@ -25,13 +25,13 @@ #include <tqfile.h> #include <tqtextstream.h> -QString +TQString KAboutPerson::name() const { return TQString::fromUtf8(mName); } -QString +TQString KAboutPerson::task() const { if (mTask && *mTask) @@ -40,14 +40,14 @@ KAboutPerson::task() const return TQString::null; } -QString +TQString KAboutPerson::emailAddress() const { return TQString::fromUtf8(mEmailAddress); } -QString +TQString KAboutPerson::webAddress() const { return TQString::fromUtf8(mWebAddress); @@ -248,7 +248,7 @@ KAboutData::productName() const return appName(); } -QString +TQString KAboutData::programName() const { if (mProgramName && *mProgramName) @@ -278,7 +278,7 @@ KAboutData::translateInternalProgramName() const d->mTranslatedProgramName = qstrdup( programName().utf8()); } -QImage +TQImage KAboutData::programLogo() const { return d->programLogo ? (*d->programLogo) : TQImage(); @@ -293,13 +293,13 @@ KAboutData::setProgramLogo(const TQImage& image) *d->programLogo = image; } -QString +TQString KAboutData::version() const { - return TQString::fromLatin1(mVersion); + return TQString::tqfromLatin1(mVersion); } -QString +TQString KAboutData::shortDescription() const { if (mShortDescription && *mShortDescription) @@ -308,16 +308,16 @@ KAboutData::shortDescription() const return TQString::null; } -QString +TQString KAboutData::homepage() const { - return TQString::fromLatin1(mHomepageAddress); + return TQString::tqfromLatin1(mHomepageAddress); } -QString +TQString KAboutData::bugAddress() const { - return TQString::fromLatin1(mBugEmailAddress); + return TQString::tqfromLatin1(mBugEmailAddress); } const TQValueList<KAboutPerson> @@ -381,7 +381,7 @@ KAboutData::translators() const return personList; } -QString +TQString KAboutData::aboutTranslationTeam() { return i18n("replace this with information about your translation team", @@ -392,7 +392,7 @@ KAboutData::aboutTranslationTeam() ); } -QString +TQString KAboutData::otherText() const { if (mOtherText && *mOtherText) @@ -402,7 +402,7 @@ KAboutData::otherText() const } -QString +TQString KAboutData::license() const { TQString result; @@ -465,7 +465,7 @@ KAboutData::license() const return result; } -QString +TQString KAboutData::copyrightStatement() const { if (mCopyrightStatement && *mCopyrightStatement) @@ -474,13 +474,13 @@ KAboutData::copyrightStatement() const return TQString::null; } -QString +TQString KAboutData::customAuthorPlainText() const { return d->customAuthorPlainText; } -QString +TQString KAboutData::customAuthorRichText() const { return d->customAuthorRichText; |