summaryrefslogtreecommitdiffstats
path: root/kdecore/kconfigbase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:02 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:04:59 +0200
commit41b1d53a0144afe4c31425c18af25c2d6ade881b (patch)
tree4bf4a434c5db64325f317e56cc9d8d2a729df3e4 /kdecore/kconfigbase.cpp
parente2867c1f1eec514d56386f2fc5350eaaf760532a (diff)
downloadtdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.tar.gz
tdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.zip
Remove additional unneeded tq method conversions
(cherry picked from commit a51cd9949c4e6c726a84a61de3cfadd30cefb5c7)
Diffstat (limited to 'kdecore/kconfigbase.cpp')
-rw-r--r--kdecore/kconfigbase.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdecore/kconfigbase.cpp b/kdecore/kconfigbase.cpp
index 0b3e05b35..9ad660037 100644
--- a/kdecore/kconfigbase.cpp
+++ b/kdecore/kconfigbase.cpp
@@ -969,7 +969,7 @@ TQColor KConfigBase::readColorEntry( const char *pKey,
TQString aValue = readEntry( pKey );
if( !aValue.isEmpty() )
{
- if ( aValue.tqat(0) == (QChar)'#' )
+ if ( aValue.at(0) == (QChar)'#' )
{
aRetColor.setNamedColor(aValue);
}
@@ -1040,10 +1040,10 @@ TQDateTime KConfigBase::readDateTimeEntry( const char *pKey,
TQStrList list;
int count = readListEntry( pKey, list, ',' );
if( count == 6 ) {
- TQDate date( atoi( list.tqat( 0 ) ), atoi( list.tqat( 1 ) ),
- atoi( list.tqat( 2 ) ) );
- TQTime time( atoi( list.tqat( 3 ) ), atoi( list.tqat( 4 ) ),
- atoi( list.tqat( 5 ) ) );
+ TQDate date( atoi( list.at( 0 ) ), atoi( list.at( 1 ) ),
+ atoi( list.at( 2 ) ) );
+ TQTime time( atoi( list.at( 3 ) ), atoi( list.at( 4 ) ),
+ atoi( list.at( 5 ) ) );
return TQDateTime( date, time );
}
@@ -1424,7 +1424,7 @@ void KConfigBase::writeEntry ( const char *pKey, const TQStrList &list,
}
str_list += sep;
}
- if( str_list.tqat(str_list.length() - 1) == (QChar)sep )
+ if( str_list.at(str_list.length() - 1) == (QChar)sep )
str_list.truncate( str_list.length() -1 );
writeEntry( pKey, str_list, bPersistent, bGlobal, bNLS );
}
@@ -1468,7 +1468,7 @@ void KConfigBase::writeEntry ( const char *pKey, const TQStringList &list,
}
str_list += sep;
}
- if( str_list.tqat(str_list.length() - 1) == (QChar)sep )
+ if( str_list.at(str_list.length() - 1) == (QChar)sep )
str_list.truncate( str_list.length() -1 );
writeEntry( pKey, str_list, bPersistent, bGlobal, bNLS, bExpand );
}