diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:29:23 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:26:26 +0200 |
| commit | 6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (patch) | |
| tree | b3de8cec6a2df2306a13d2d884ea95a8f0c207d2 /kcontrol/input/xcursor/previewwidget.cpp | |
| parent | 6ca5e6d65a74d794637953bfea85c42e3bf828dd (diff) | |
| download | tdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.tar.gz tdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.zip | |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 628043be55ddd2f534411d028e4f68c8fe4eaabb)
Diffstat (limited to 'kcontrol/input/xcursor/previewwidget.cpp')
| -rw-r--r-- | kcontrol/input/xcursor/previewwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/input/xcursor/previewwidget.cpp b/kcontrol/input/xcursor/previewwidget.cpp index 17bf227f4..c4b1ec6b0 100644 --- a/kcontrol/input/xcursor/previewwidget.cpp +++ b/kcontrol/input/xcursor/previewwidget.cpp @@ -286,7 +286,7 @@ PreviewWidget::~PreviewWidget() void PreviewWidget::setTheme( const TQString &theme ) { - tqsetUpdatesEnabled( false ); + setUpdatesEnabled( false ); int minHeight = previewSize + 20; // Minimum height of the preview widget int maxHeight = height(); // Tallest cursor height @@ -302,7 +302,7 @@ void PreviewWidget::setTheme( const TQString &theme ) current = -1; setFixedSize( ( maxWidth + cursorSpacing ) * numCursors, kMax( maxHeight, minHeight ) ); - tqsetUpdatesEnabled( true ); + setUpdatesEnabled( true ); tqrepaint( false ); } @@ -311,7 +311,7 @@ void PreviewWidget::paintEvent( TQPaintEvent * ) { TQPixmap buffer( size() ); TQPainter p( &buffer ); - p.fillRect( rect(), tqcolorGroup().brush( TQColorGroup::Background ) ); + p.fillRect( rect(), colorGroup().brush( TQColorGroup::Background ) ); Picture dest; if ( !qt_has_xft || !qt_use_xrender ) { |
