summaryrefslogtreecommitdiffstats
path: root/koshell/iconsidepane.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /koshell/iconsidepane.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'koshell/iconsidepane.cpp')
-rw-r--r--koshell/iconsidepane.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/koshell/iconsidepane.cpp b/koshell/iconsidepane.cpp
index 7f3371e4..93bbb6c4 100644
--- a/koshell/iconsidepane.cpp
+++ b/koshell/iconsidepane.cpp
@@ -126,13 +126,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 = TQBrush(box->colorGroup().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;
- pen.setColor( box->colorGroup().mid() );
+ pen.setColor( box->tqcolorGroup().mid() );
p->setPen( pen );
p->drawPoint( 1, 0 );
@@ -149,9 +149,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() ) {
@@ -176,13 +176,13 @@ void EntryItem::paint( TQPainter *p )
}
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() );
}
@@ -283,7 +283,7 @@ void Navigator::slotExecuted( TQListBoxItem *item )
executedItem = item;
}
-TQSize Navigator::sizeHint() const
+TQSize Navigator::tqsizeHint() const
{
return TQSize( mMinWidth, 100 );
}
@@ -409,7 +409,7 @@ IconSidePane::IconSidePane(TQWidget *parent, const char *name )
m_buttongroup->setExclusive(true);
m_buttongroup->hide();
mWidgetstack = new TQWidgetStack(this);
- mWidgetstack->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
+ mWidgetstack->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
// setup the popup menu
mShowIcons = KoShellSettings::sidePaneShowIcons();