summaryrefslogtreecommitdiffstats
path: root/kontact/src/iconsidepane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/src/iconsidepane.cpp')
-rw-r--r--kontact/src/iconsidepane.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp
index 4303175f6..b54454e14 100644
--- a/kontact/src/iconsidepane.cpp
+++ b/kontact/src/iconsidepane.cpp
@@ -173,13 +173,13 @@ void EntryItem::paint( TQPainter *p )
TQBrush brush;
if ( isCurrent() || isSelected() || mPaintActive )
- brush = box->colorGroup().brush( TQColorGroup::Highlight );
+ brush = box->tqcolorGroup().brush( TQColorGroup::Highlight );
else
- brush = box->colorGroup().highlight().light( 115 );
+ brush = box->tqcolorGroup().highlight().light( 115 );
p->fillRect( 1, 0, w - 2, h - 1, brush );
TQPen pen = p->pen();
TQPen oldPen = pen;
- pen.setColor( box->colorGroup().mid() );
+ pen.setColor( box->tqcolorGroup().mid() );
p->setPen( pen );
p->drawPoint( 1, 0 );
@@ -196,9 +196,9 @@ void EntryItem::paint( TQPainter *p )
p->drawPixmap( x, y, mPixmap );
}
- TQColor shadowColor = listBox()->colorGroup().background().dark(115);
+ TQColor shadowColor = listBox()->tqcolorGroup().background().dark(115);
if ( isCurrent() || isSelected() ) {
- p->setPen( box->colorGroup().highlightedText() );
+ p->setPen( box->tqcolorGroup().highlightedText() );
}
if ( !text().isEmpty() && navigator()->showText() ) {
@@ -225,13 +225,13 @@ void EntryItem::paint( TQPainter *p )
if ( plugin()->disabled() ) {
p->setPen( box->palette().disabled().text( ) );
} else if ( isCurrent() || isSelected() || mHasHover ) {
- p->setPen( box->colorGroup().highlight().dark(115) );
+ p->setPen( box->tqcolorGroup().highlight().dark(115) );
p->drawText( x + ( TQApplication::reverseLayout() ? -1 : 1),
y + 1, text() );
- p->setPen( box->colorGroup().highlightedText() );
+ p->setPen( box->tqcolorGroup().highlightedText() );
}
else
- p->setPen( box->colorGroup().text() );
+ p->setPen( box->tqcolorGroup().text() );
p->drawText( x, y, text() );
}
@@ -284,7 +284,7 @@ Navigator::Navigator( IconSidePane *parent, const char *name )
}
-TQSize Navigator::sizeHint() const
+TQSize Navigator::tqsizeHint() const
{
return TQSize( 100, 100 );
}
@@ -344,7 +344,7 @@ void Navigator::updatePlugins( TQValueList<Kontact::Plugin*> plugins_ )
minWidth = item->width( this );
}
- parentWidget()->setFixedWidth( minWidth );
+ tqparentWidget()->setFixedWidth( minWidth );
}
void Navigator::dragEnterEvent( TQDragEnterEvent *event )
@@ -491,7 +491,7 @@ void Navigator::slotShowRMBMenu( TQListBoxItem *, const TQPoint &pos )
if (width > maxWidth)
maxWidth = width;
}
- parentWidget()->setFixedWidth( maxWidth );
+ tqparentWidget()->setFixedWidth( maxWidth );
triggerUpdate( true );
}