summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
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 e22ab428..2b0ae959 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();