summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde')
-rw-r--r--arts/gui/kde/klayoutbox_impl.cpp8
-rw-r--r--arts/gui/kde/klayoutbox_impl.h4
-rw-r--r--arts/gui/kde/kpoti.cpp20
3 files changed, 16 insertions, 16 deletions
diff --git a/arts/gui/kde/klayoutbox_impl.cpp b/arts/gui/kde/klayoutbox_impl.cpp
index e94ed1ec..6cbe9873 100644
--- a/arts/gui/kde/klayoutbox_impl.cpp
+++ b/arts/gui/kde/klayoutbox_impl.cpp
@@ -41,14 +41,14 @@ KLayoutBox_impl::~KLayoutBox_impl() {
void KLayoutBox_impl::addWidget( Arts::Widget widget, long stretch, long align ) {
widget.tqparent( self() );
- this->_addChild( widget, "tqlayoutbox_item" );
+ this->_addChild( widget, "layoutbox_item" );
TQWidget * tmp = KWidgetRepo::the()->lookupTQWidget( widget.widgetID() );
_layout->addWidget( tmp, stretch, align );
}
void KLayoutBox_impl::insertWidget( long index, Arts::Widget widget, long stretch, long align ) {
widget.tqparent( self() );
- this->_addChild( widget, "tqlayoutbox_item" );
+ this->_addChild( widget, "layoutbox_item" );
TQWidget * tmp = KWidgetRepo::the()->lookupTQWidget( widget.widgetID() );
_layout->insertWidget( index, tmp, stretch, align );
}
@@ -66,8 +66,8 @@ void KLayoutBox_impl::addLine( long width, long space, long stretch, long align
long KLayoutBox_impl::spacing() { return _layout->spacing(); }
void KLayoutBox_impl::spacing( long n ) { _layout->setSpacing( n ); }
-long KLayoutBox_impl::tqlayoutmargin() { return _layout->margin(); }
-void KLayoutBox_impl::tqlayoutmargin( long n ) { _layout->setMargin( n ); this->margin( n ); }
+long KLayoutBox_impl::layoutmargin() { return _layout->margin(); }
+void KLayoutBox_impl::layoutmargin( long n ) { _layout->setMargin( n ); this->margin( n ); }
Direction KLayoutBox_impl::direction() { return Arts::Direction( _layout->direction() ); }
void KLayoutBox_impl::direction( Direction d ) { _layout->setDirection( TQBoxLayout::Direction( d ) ); }
diff --git a/arts/gui/kde/klayoutbox_impl.h b/arts/gui/kde/klayoutbox_impl.h
index a8272fe3..d4a2ec59 100644
--- a/arts/gui/kde/klayoutbox_impl.h
+++ b/arts/gui/kde/klayoutbox_impl.h
@@ -72,8 +72,8 @@ public:
long spacing();
void spacing( long );
- long tqlayoutmargin();
- void tqlayoutmargin( long );
+ long layoutmargin();
+ void layoutmargin( long );
}; // class
} // namespace
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index 6beed787..d7cf50df 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -64,11 +64,11 @@ struct KPoti::KPotiPrivate
// create tqmask
TQBitmap tqmask( bgdb.size(), true );
- TQPainter tqmaskpainter( &tqmask );
- tqmaskpainter.setPen( TQt::NoPen );
- tqmaskpainter.setBrush( TQt::color1 );
- tqmaskpainter.drawEllipse( drawRect );
- tqmaskpainter.end();
+ TQPainter maskpainter( &tqmask );
+ maskpainter.setPen( TQt::NoPen );
+ maskpainter.setBrush( TQt::color1 );
+ maskpainter.drawEllipse( drawRect );
+ maskpainter.end();
bgdb.setMask( tqmask );
// inset shadow
@@ -104,11 +104,11 @@ struct KPoti::KPotiPrivate
// create tqmask
TQBitmap tqmask( potidb.size(), true );
- TQPainter tqmaskpainter( &tqmask );
- tqmaskpainter.setPen( TQt::NoPen );
- tqmaskpainter.setBrush( TQt::color1 );
- tqmaskpainter.drawEllipse( drawRect );
- tqmaskpainter.end();
+ TQPainter maskpainter( &tqmask );
+ maskpainter.setPen( TQt::NoPen );
+ maskpainter.setBrush( TQt::color1 );
+ maskpainter.drawEllipse( drawRect );
+ maskpainter.end();
potidb.setMask( tqmask );
KPixmap gradient( potidb.size() );