summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:19:21 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:26:34 +0200
commit0251b10c2e9a79e857e5729453d375d09fa8336e (patch)
tree11223ad7a12c1bdbc81b9bb698618b0386a1ce5e /kioslave
parenta5b44fbe44e58478ad74d819c5f4c36926d31872 (diff)
downloadtdebase-0251b10c2e9a79e857e5729453d375d09fa8336e.tar.gz
tdebase-0251b10c2e9a79e857e5729453d375d09fa8336e.zip
Rename obsolete tq methods to standard names
(cherry picked from commit b492b550f35c84160958775c14ea7037c5b12181)
Diffstat (limited to 'kioslave')
-rw-r--r--kioslave/media/kfile-plugin/kfilemediaplugin.cpp4
-rw-r--r--kioslave/smtp/request.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/kioslave/media/kfile-plugin/kfilemediaplugin.cpp b/kioslave/media/kfile-plugin/kfilemediaplugin.cpp
index 4a92ee91a..cd4a50a52 100644
--- a/kioslave/media/kfile-plugin/kfilemediaplugin.cpp
+++ b/kioslave/media/kfile-plugin/kfilemediaplugin.cpp
@@ -148,9 +148,9 @@ bool KFileMediaPlugin::readInfo(KFileMetaInfo &info, uint /*what*/)
p.fillRect(0, 0, length, 20, Qt::red);
p.fillRect(length, 0, 150-length, 20, Qt::green);
- TQColorGroup cg = TQApplication::tqpalette().active();
+ TQColorGroup cg = TQApplication::palette().active();
- TQApplication::tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, &p,
+ TQApplication::style().tqdrawPrimitive(TQStyle::PE_Panel, &p,
TQRect(0, 0, 150, 20), cg,
TQStyle::Style_Sunken);
diff --git a/kioslave/smtp/request.cc b/kioslave/smtp/request.cc
index 05f8bdc99..84a1663f8 100644
--- a/kioslave/smtp/request.cc
+++ b/kioslave/smtp/request.cc
@@ -93,7 +93,7 @@ namespace KioSMTP {
static bool isUsAscii( const TQString & s ) {
for ( uint i = 0 ; i < s.length() ; ++i )
- if ( s[i].tqunicode() > 127 ) return false;
+ if ( s[i].unicode() > 127 ) return false;
return true;
}