summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
commitba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch)
tree08ba9504290f461f1244dded6b37fc4db00847ab /knotes/knote.cpp
parentd5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff)
downloadtdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz
tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index e22ab4285..2b0ae9599 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -1020,7 +1020,7 @@ void KNote::createFold()
TQPixmap fold( 15, 15 );
TQPainter foldp( &fold );
foldp.setPen( TQt::NoPen );
- foldp.setBrush( tqpalette().active().dark() );
+ foldp.setBrush( palette().active().dark() );
TQPointArray foldpoints( 3 );
foldpoints.putPoints( 0, 3, 0, 0, 14, 0, 0, 14 );
foldp.drawPolygon( foldpoints );
@@ -1042,7 +1042,7 @@ void KNote::updateFocus()
{
if ( hasFocus() )
{
- m_label->setBackgroundColor( tqpalette().active().shadow() );
+ m_label->setBackgroundColor( palette().active().shadow() );
m_button->show();
if ( !m_editor->isReadOnly() )
@@ -1081,11 +1081,11 @@ void KNote::updateFocus()
if ( s_ppOffset )
{
- m_label->setBackgroundColor( tqpalette().active().midlight() );
+ m_label->setBackgroundColor( palette().active().midlight() );
m_fold->show();
}
else
- m_label->setBackgroundColor( tqpalette().active().background() );
+ m_label->setBackgroundColor( palette().active().background() );
}
}
@@ -1138,7 +1138,7 @@ void KNote::updateBackground( int y_offset )
TQImage grad_img( w, h, 32 );
TQRgb rgbcol;
- TQColor bg = tqpalette().active().background();
+ TQColor bg = palette().active().background();
for ( int i = 0; i < h; ++i )
{
@@ -1172,7 +1172,7 @@ void KNote::updateLayout()
if ( s_ppOffset )
{
if ( !m_editor->paper().pixmap() ) // just changed the style
- setColor( tqpalette().active().foreground(), tqpalette().active().background() );
+ setColor( palette().active().foreground(), palette().active().background() );
m_pushpin->show();
setFrameStyle( Panel | Raised );
@@ -1185,7 +1185,7 @@ void KNote::updateLayout()
else
{
if ( m_editor->paper().pixmap() ) // just changed the style
- setColor( tqpalette().active().foreground(), tqpalette().active().background() );
+ setColor( palette().active().foreground(), palette().active().background() );
setFrameStyle( WinPanel | Raised );
m_pushpin->hide();