summaryrefslogtreecommitdiffstats
path: root/knode/kndisplayedheader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/kndisplayedheader.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/kndisplayedheader.cpp')
-rw-r--r--knode/kndisplayedheader.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/kndisplayedheader.cpp b/knode/kndisplayedheader.cpp
index 589bd0027..cf25d57ef 100644
--- a/knode/kndisplayedheader.cpp
+++ b/knode/kndisplayedheader.cpp
@@ -85,7 +85,7 @@ const char** KNDisplayedHeader::predefs()
// *tries* to translate the name
-QString KNDisplayedHeader::translatedName()
+TQString KNDisplayedHeader::translatedName()
{
if (t_ranslateName) {
// major hack alert !!!
@@ -95,19 +95,19 @@ QString KNDisplayedHeader::translatedName()
else
return n_ame;
} else
- return QString::null;
+ return TQString::null;
} else
return n_ame;
}
// *tries* to retranslate the name to english
-void KNDisplayedHeader::setTranslatedName(const QString &s)
+void KNDisplayedHeader::setTranslatedName(const TQString &s)
{
bool retranslated = false;
for (const char **c=predef;(*c)!=0;c++) { // ok, first the standard header names
if (s==i18n("collection of article headers",*c)) {
- n_ame = QString::fromLatin1(*c);
+ n_ame = TQString::fromLatin1(*c);
retranslated = true;
break;
}
@@ -116,7 +116,7 @@ void KNDisplayedHeader::setTranslatedName(const QString &s)
if (!retranslated) {
for (const char **c=disp;(*c)!=0;c++) // now our standard display names
if (s==i18n("collection of article headers",*c)) {
- n_ame = QString::fromLatin1(*c);
+ n_ame = TQString::fromLatin1(*c);
retranslated = true;
break;
}
@@ -135,7 +135,7 @@ void KNDisplayedHeader::createTags()
const char *tokens[] = { "<big>","</big>","<b>","</b>",
"<i>","</i>","<u>","</u>" };
- for(int i=0; i<4; i++) t_ags[i]=QString::null;
+ for(int i=0; i<4; i++) t_ags[i]=TQString::null;
if(f_lags.at(0)) { // <big>
t_ags[0]=tokens[0];