diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 18:07:30 +0200 |
commit | 537ccfa7e6fcdcb613f2f83744b19fc28f83b79f (patch) | |
tree | aa9967241dd9bab89be10bb1102f89903c87d2a4 /arts/gui | |
parent | cc17a105bc9cf5683ff3f208214068c571fcde59 (diff) | |
download | tdemultimedia-537ccfa7e6fcdcb613f2f83744b19fc28f83b79f.tar.gz tdemultimedia-537ccfa7e6fcdcb613f2f83744b19fc28f83b79f.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit dc07846059a60d069687585cc72ff501a2096296)
Diffstat (limited to 'arts/gui')
-rw-r--r-- | arts/gui/common/artsgui.idl | 6 | ||||
-rw-r--r-- | arts/gui/kde/kframe_impl.cpp | 4 | ||||
-rw-r--r-- | arts/gui/kde/kframe_impl.h | 4 | ||||
-rw-r--r-- | arts/gui/kde/kgraph.cpp | 2 | ||||
-rw-r--r-- | arts/gui/kde/klabel_impl.cpp | 4 | ||||
-rw-r--r-- | arts/gui/kde/klevelmeter_firebars.cpp | 2 | ||||
-rw-r--r-- | arts/gui/kde/klevelmeter_linebars.cpp | 2 | ||||
-rw-r--r-- | arts/gui/kde/kpoti.cpp | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/arts/gui/common/artsgui.idl b/arts/gui/common/artsgui.idl index c88dd3f1..a9a3950a 100644 --- a/arts/gui/common/artsgui.idl +++ b/arts/gui/common/artsgui.idl @@ -89,7 +89,7 @@ module Arts { attribute long midlinewidth; attribute long framestyle; - attribute Shape frametqshape; + attribute Shape frameshape; attribute Shadow frameshadow; }; @@ -126,7 +126,7 @@ module Arts { interface LayoutBox : Frame { /// Sets the direction of the widgets. Can be changed on-the-fly. attribute Direction direction; - /// Adds a widget with the stretch-factor and the tqalignment. + /// Adds a widget with the stretch-factor and the alignment. void addWidget( Widget widget, long stretch, long align ); void addWidget( Widget widget, long stretch ); void addWidget( Widget widget ); @@ -256,7 +256,7 @@ module Arts { interface Label : Frame { /// The text to show. attribute string text; - /// The tqalignment of the text. See enum Align + /// The alignment of the text. See enum Align attribute long align; /// Fontsize [pixel] /*writeonly*/ attribute long fontsize; diff --git a/arts/gui/kde/kframe_impl.cpp b/arts/gui/kde/kframe_impl.cpp index 478d8ec4..d95da549 100644 --- a/arts/gui/kde/kframe_impl.cpp +++ b/arts/gui/kde/kframe_impl.cpp @@ -73,12 +73,12 @@ void KFrame_impl::framestyle( long fs ) _qframe->setFrameStyle( fs ); } -Shape KFrame_impl::frametqshape() +Shape KFrame_impl::frameshape() { return ( Shape )_qframe->frameShape(); } -void KFrame_impl::frametqshape( Shape fs ) +void KFrame_impl::frameshape( Shape fs ) { _qframe->setFrameShape( ( TQFrame::Shape )fs ); } diff --git a/arts/gui/kde/kframe_impl.h b/arts/gui/kde/kframe_impl.h index 57af42e6..febc0057 100644 --- a/arts/gui/kde/kframe_impl.h +++ b/arts/gui/kde/kframe_impl.h @@ -44,8 +44,8 @@ class KDE_EXPORT KFrame_impl : virtual public Arts::Frame_skel, void midlinewidth( long mlw ); long framestyle(); void framestyle( long fs ); - Shape frametqshape(); - void frametqshape( Shape fs ); + Shape frameshape(); + void frameshape( Shape fs ); Shadow frameshadow(); void frameshadow( Shadow fs ); }; //class diff --git a/arts/gui/kde/kgraph.cpp b/arts/gui/kde/kgraph.cpp index 1278ba21..1218e9a0 100644 --- a/arts/gui/kde/kgraph.cpp +++ b/arts/gui/kde/kgraph.cpp @@ -52,7 +52,7 @@ void KGraph::addLine(Arts::KGraphLine_impl *line) void KGraph::redrawLine(Arts::KGraphLine_impl * /*line*/) { - tqrepaint(); + repaint(); } void KGraph::removeLine(Arts::KGraphLine_impl *line) diff --git a/arts/gui/kde/klabel_impl.cpp b/arts/gui/kde/klabel_impl.cpp index e6a008c4..dd0a9557 100644 --- a/arts/gui/kde/klabel_impl.cpp +++ b/arts/gui/kde/klabel_impl.cpp @@ -92,13 +92,13 @@ void RotateLabel::title( TQString n ) { void RotateLabel::align( long n ) { _align=n; - tqrepaint(); + repaint(); } void RotateLabel::bottom( Arts::TextBottom bottom ) { _bottom = bottom; title( _title ); - tqrepaint(); + repaint(); } // vim: sw=4 ts=4 diff --git a/arts/gui/kde/klevelmeter_firebars.cpp b/arts/gui/kde/klevelmeter_firebars.cpp index 5589b772..9a78804c 100644 --- a/arts/gui/kde/klevelmeter_firebars.cpp +++ b/arts/gui/kde/klevelmeter_firebars.cpp @@ -91,7 +91,7 @@ void KLevelMeter_FireBars::invalue( float n, float p ) { _bar->setGeometry( int( this->width()-_value*this->width() ), 0, this->width(), this->height() ); break; } - tqrepaint(); + repaint(); } void KLevelMeter_FireBars::paintEvent( TQPaintEvent* ) { diff --git a/arts/gui/kde/klevelmeter_linebars.cpp b/arts/gui/kde/klevelmeter_linebars.cpp index cdbb819d..fc2a1293 100644 --- a/arts/gui/kde/klevelmeter_linebars.cpp +++ b/arts/gui/kde/klevelmeter_linebars.cpp @@ -38,7 +38,7 @@ KLevelMeter_LineBars::KLevelMeter_LineBars( Arts::KLevelMeter_impl* impl, TQWidg void KLevelMeter_LineBars::invalue( float n, float p ) { _value = amptondb( n ); _peak = amptondb( p ); - tqrepaint(); + repaint(); } void KLevelMeter_LineBars::substyle( long n ) { diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp index b38902d8..d436be9a 100644 --- a/arts/gui/kde/kpoti.cpp +++ b/arts/gui/kde/kpoti.cpp @@ -392,7 +392,7 @@ void KPoti::setColor( const TQColor &c ) { d->potiColor = c; d->potiDirty = true; - tqrepaint(); + repaint(); } |