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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp
index 7e4d027e..fa19c1f7 100644
--- a/kontact/src/iconsidepane.cpp
+++ b/kontact/src/iconsidepane.cpp
@@ -175,7 +175,7 @@ void EntryItem::paint( TQPainter *p )
if ( isCurrent() || isSelected() || mPaintActive )
brush = box->tqcolorGroup().brush( TQColorGroup::Highlight );
else
- brush = box->tqcolorGroup().highlight().light( 115 );
+ brush = TQBrush(box->tqcolorGroup().highlight().light( 115 ));
p->fillRect( 1, 0, w - 2, h - 1, brush );
TQPen pen = p->pen();
TQPen oldPen = pen;
@@ -223,7 +223,7 @@ void EntryItem::paint( TQPainter *p )
}
if ( plugin()->disabled() ) {
- p->setPen( box->palette().disabled().text( ) );
+ p->setPen( box->tqpalette().disabled().text( ) );
} else if ( isCurrent() || isSelected() || mHasHover ) {
p->setPen( box->tqcolorGroup().highlight().dark(115) );
p->drawText( x + ( TQApplication::reverseLayout() ? -1 : 1),
@@ -265,7 +265,7 @@ Navigator::Navigator( IconSidePane *tqparent, const char *name )
setHScrollBarMode( TQScrollView::AlwaysOff );
setAcceptDrops( true );
- setFocusPolicy( NoFocus );
+ setFocusPolicy( Qt::NoFocus );
connect( this, TQT_SIGNAL( selectionChanged( TQListBoxItem* ) ),
TQT_SLOT( slotExecuted( TQListBoxItem* ) ) );
@@ -275,7 +275,7 @@ Navigator::Navigator( IconSidePane *tqparent, const char *name )
TQT_SLOT( slotMouseOn( TQListBoxItem * ) ) );
connect( this, TQT_SIGNAL( onViewport() ), TQT_SLOT( slotMouseOff() ) );
- mMapper = new TQSignalMapper( this );
+ mMapper = new TQSignalMapper( TQT_TQOBJECT(this) );
connect( mMapper, TQT_SIGNAL( mapped( int ) ), TQT_SLOT( shortCutSelected( int ) ) );
TQToolTip::remove( this );