summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit914b4db5c94848135cd675ffdb5fa4049cbe33e4 (patch)
tree051d5d44af2695f6066f38bee804dfae1ad62490 /arts/gui/kde
parentf949c4652e0aae023b4306f3550914811743698e (diff)
downloadtdemultimedia-914b4db5c94848135cd675ffdb5fa4049cbe33e4.tar.gz
tdemultimedia-914b4db5c94848135cd675ffdb5fa4049cbe33e4.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() );