summaryrefslogtreecommitdiffstats
path: root/scheck/scheck.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
commit36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch)
tree3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /scheck/scheck.cpp
parentf78838f2f736acc2b235d8b680f3379a07a6d372 (diff)
downloadtdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz
tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'scheck/scheck.cpp')
-rw-r--r--scheck/scheck.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp
index 787c4221..20b1c8b2 100644
--- a/scheck/scheck.cpp
+++ b/scheck/scheck.cpp
@@ -729,7 +729,7 @@ static void renderViolations(const TQValueVector<StyleGuideViolation>& violation
// str.setLength() always does a deep copy, so the replacement code below is safe.
parStr.setLength( len );
// compatible behaviour to the old implementation. Replace tabs by spaces
- TQChar *chr = (TQChar*)parStr.tqunicode();
+ TQChar *chr = (TQChar*)parStr.unicode();
int l = len;
while ( l-- )
{
@@ -894,7 +894,7 @@ StyleCheckStyle::~StyleCheckStyle()
//We walk down the widget tree until we find something we render, and sic KAccelManager in programmer's mode on those
void StyleCheckStyle::accelManageRecursive(TQWidget* widget)
{
- if (&widget->tqstyle() == this)
+ if (&widget->style() == this)
{
KAcceleratorManager::manage(widget, true);
return;
@@ -1058,7 +1058,7 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe,
if ( sunken )
kDrawBeButton( p, x, y, w, h, cg, true,
- &cg.tqbrush(TQColorGroup::Mid) );
+ &cg.brush(TQColorGroup::Mid) );
else if ( flags & Style_MouseOver ) {
TQBrush brush(cg.button().light(110));
@@ -1071,7 +1071,7 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe,
else
kDrawBeButton(p, x, y, w, h, cg, false,
- &cg.tqbrush(TQColorGroup::Button));
+ &cg.brush(TQColorGroup::Button));
break;
}