diff options
Diffstat (limited to 'kmplot/kmplot/ksliderwindow.cpp')
-rw-r--r-- | kmplot/kmplot/ksliderwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmplot/kmplot/ksliderwindow.cpp b/kmplot/kmplot/ksliderwindow.cpp index 24c71994..758f6abc 100644 --- a/kmplot/kmplot/ksliderwindow.cpp +++ b/kmplot/kmplot/ksliderwindow.cpp @@ -22,7 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ -// Qt includes +// TQt includes #include <tqcursor.h> #include <tqslider.h> #include <tqtooltip.h> @@ -42,11 +42,11 @@ // local includes #include "ksliderwindow.h" -KSliderWindow::KSliderWindow(TQWidget* parent, int num ) : - SliderWindow( parent, "", false, Qt::WStyle_Tool-Qt::WStyle_Maximize ), m_num(num) +KSliderWindow::KSliderWindow(TQWidget* tqparent, int num ) : + SliderWindow( tqparent, "", false, TQt::WStyle_Tool-TQt::WStyle_Maximize ), m_num(num) { - setCaption(i18n( "Slider %1" ).arg( num+1 ) ); - TQToolTip::add( slider, i18n( "Slider no. %1" ).arg( num+1 )); + setCaption(i18n( "Slider %1" ).tqarg( num+1 ) ); + TQToolTip::add( slider, i18n( "Slider no. %1" ).tqarg( num+1 )); TQWhatsThis::add( this, i18n( "Move slider to change the parameter of the function plot connected to this slider." ) ); // load the min and max value + the current value @@ -61,9 +61,9 @@ KSliderWindow::KSliderWindow(TQWidget* parent, int num ) : installEventFilter(this); m_popupmenu = new KPopupMenu(this); - KAction *mnuMinValue = new KAction(i18n("&Change Minimum Value") ,0,this, TQT_SLOT( mnuMinValue_clicked() ),0); + KAction *mnuMinValue = new KAction(i18n("&Change Minimum Value") ,0,TQT_TQOBJECT(this), TQT_SLOT( mnuMinValue_clicked() ),0); mnuMinValue->plug(m_popupmenu); - KAction *mnuMaxValue = new KAction(i18n("&Change Maximum Value") ,0,this, TQT_SLOT( mnuMaxValue_clicked() ),0 ); + KAction *mnuMaxValue = new KAction(i18n("&Change Maximum Value") ,0,TQT_TQOBJECT(this), TQT_SLOT( mnuMaxValue_clicked() ),0 ); mnuMaxValue->plug(m_popupmenu); } |