From eb570158698cf61dad4f77d950ef908160f6c3cc Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmplot/kmplot/FktDlg.cpp | 2 +- kmplot/kmplot/FktDlg.h | 4 ++-- kmplot/kmplot/MainDlg.cpp | 12 ++++++------ kmplot/kmplot/MainDlg.h | 10 +++++----- kmplot/kmplot/View.cpp | 2 +- kmplot/kmplot/View.h | 2 +- kmplot/kmplot/coordsconfigdialog.cpp | 4 ++-- kmplot/kmplot/coordsconfigdialog.h | 2 +- kmplot/kmplot/editfunction.cpp | 4 ++-- kmplot/kmplot/editfunction.h | 4 ++-- kmplot/kmplot/kconstanteditor.cpp | 4 ++-- kmplot/kmplot/kconstanteditor.h | 2 +- kmplot/kmplot/keditconstant.cpp | 4 ++-- kmplot/kmplot/keditconstant.h | 2 +- kmplot/kmplot/keditparametric.cpp | 4 ++-- kmplot/kmplot/keditparametric.h | 4 ++-- kmplot/kmplot/keditpolar.cpp | 4 ++-- kmplot/kmplot/keditpolar.h | 4 ++-- kmplot/kmplot/kminmax.cpp | 4 ++-- kmplot/kmplot/kminmax.h | 2 +- kmplot/kmplot/kmplotio.h | 2 +- kmplot/kmplot/kmplotprogress.cpp | 2 +- kmplot/kmplot/kmplotprogress.h | 2 +- kmplot/kmplot/kparametereditor.cpp | 4 ++-- kmplot/kmplot/kparametereditor.h | 2 +- kmplot/kmplot/kprinterdlg.cpp | 4 ++-- kmplot/kmplot/kprinterdlg.h | 2 +- kmplot/kmplot/ksliderwindow.cpp | 4 ++-- kmplot/kmplot/ksliderwindow.h | 4 ++-- 29 files changed, 53 insertions(+), 53 deletions(-) (limited to 'kmplot') diff --git a/kmplot/kmplot/FktDlg.cpp b/kmplot/kmplot/FktDlg.cpp index 025f1452..cd30abfa 100644 --- a/kmplot/kmplot/FktDlg.cpp +++ b/kmplot/kmplot/FktDlg.cpp @@ -49,7 +49,7 @@ #include -FktDlg::FktDlg( TQWidget* tqparent, View *view ) : FktDlgData( tqparent, "editPlots" ), m_view(view) +FktDlg::FktDlg( TQWidget* parent, View *view ) : FktDlgData( parent, "editPlots" ), m_view(view) { connect( cmdCopyFunction, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCopyFunction()) ); connect( cmdMoveFunction, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotMoveFunction()) ); diff --git a/kmplot/kmplot/FktDlg.h b/kmplot/kmplot/FktDlg.h index c0b914e2..3daafcf6 100644 --- a/kmplot/kmplot/FktDlg.h +++ b/kmplot/kmplot/FktDlg.h @@ -50,10 +50,10 @@ class FktDlg : public FktDlgData public: /** * The constructor gets the current parser instance - * @param tqparent Parent widget. + * @param parent Parent widget. * @param view points to the current view instance. */ - FktDlg( TQWidget* tqparent, View* view ); + FktDlg( TQWidget* parent, View* view ); /// Empty destructor. virtual ~FktDlg(); /// Fill the widgets with plots contained in the parser instance. diff --git a/kmplot/kmplot/MainDlg.cpp b/kmplot/kmplot/MainDlg.cpp index f8b6aeb6..9c0fac37 100644 --- a/kmplot/kmplot/MainDlg.cpp +++ b/kmplot/kmplot/MainDlg.cpp @@ -63,7 +63,7 @@ class KmPlotIO; bool MainDlg::oldfileversion; -MainDlg::MainDlg(TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name) : DCOPObject( "MainDlg" ), KParts::ReadOnlyPart( tqparent, name ), m_recentFiles( 0 ), m_modified(false), m_parent(parentWidget) +MainDlg::MainDlg(TQWidget *parentWidget, const char *, TQObject *parent, const char *name) : DCOPObject( "MainDlg" ), KParts::ReadOnlyPart( parent, name ), m_recentFiles( 0 ), m_modified(false), m_parent(parentWidget) { // we need an instance setInstance( KmPlotPartFactory::instance() ); @@ -786,11 +786,11 @@ KmPlotPartFactory::~KmPlotPartFactory() } KParts::Part* KmPlotPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *, const TQStringList & ) { // Create an instance of our Part - MainDlg* obj = new MainDlg( parentWidget, widgetName, tqparent, name ); + MainDlg* obj = new MainDlg( parentWidget, widgetName, parent, name ); emit objectCreated( obj ); return obj; } @@ -815,8 +815,8 @@ extern "C" /// BrowserExtension class -BrowserExtension::BrowserExtension(MainDlg* tqparent) - : KParts::BrowserExtension( tqparent, "KmPlot::BrowserExtension" ) +BrowserExtension::BrowserExtension(MainDlg* parent) + : KParts::BrowserExtension( parent, "KmPlot::BrowserExtension" ) { emit enableAction("print", true); setURLDropHandlingEnabled(true); @@ -824,7 +824,7 @@ BrowserExtension::BrowserExtension(MainDlg* tqparent) void BrowserExtension::print() { - static_cast(tqparent())->slotPrint(); + static_cast(parent())->slotPrint(); } diff --git a/kmplot/kmplot/MainDlg.h b/kmplot/kmplot/MainDlg.h index ed6e1b14..b034ff04 100644 --- a/kmplot/kmplot/MainDlg.h +++ b/kmplot/kmplot/MainDlg.h @@ -74,11 +74,11 @@ class MainDlg : public KParts::ReadOnlyPart, virtual public MainDlgIface public: /** Constuctor. - * @param parentWidget tqparent widget for this part - * @param tqparent tqparent object + * @param parentWidget parent widget for this part + * @param parent parent object * @param name name of this dialog */ - MainDlg(TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name); + MainDlg(TQWidget *parentWidget, const char *, TQObject *parent, const char *name); /// Cleaning up a bit. virtual ~MainDlg(); /// This class needs access to private members, too. @@ -185,7 +185,7 @@ private: KmPlotIO *kmplotio; /// Set to true if the application is readonly bool m_readonly; - /// MainDlg's tqparent widget + /// MainDlg's parent widget TQWidget *m_parent; /// Current file KURL m_currentfile; @@ -222,7 +222,7 @@ public: KmPlotPartFactory(); virtual ~KmPlotPartFactory(); virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList &args ); static KInstance* instance(); diff --git a/kmplot/kmplot/View.cpp b/kmplot/kmplot/View.cpp index 08acba39..a88d364e 100644 --- a/kmplot/kmplot/View.cpp +++ b/kmplot/kmplot/View.cpp @@ -56,7 +56,7 @@ double View::xmin = 0; double View::xmax = 0; -View::View(bool const r, bool &mo, KPopupMenu *p, TQWidget* tqparent, const char* name ) : DCOPObject("View"), TQWidget( tqparent, name , WStaticContents ), buffer( width(), height() ), m_popupmenu(p), m_modified(mo), m_readonly(r), m_dcop_client(KApplication::kApplication()->dcopClient()) +View::View(bool const r, bool &mo, KPopupMenu *p, TQWidget* parent, const char* name ) : DCOPObject("View"), TQWidget( parent, name , WStaticContents ), buffer( width(), height() ), m_popupmenu(p), m_modified(mo), m_readonly(r), m_dcop_client(KApplication::kApplication()->dcopClient()) { csmode = csparam = -1; cstype = 0; diff --git a/kmplot/kmplot/View.h b/kmplot/kmplot/View.h index 034f83da..199af7a0 100644 --- a/kmplot/kmplot/View.h +++ b/kmplot/kmplot/View.h @@ -70,7 +70,7 @@ class View : public TQWidget, virtual public ViewIface TQ_OBJECT public: /// Contructor sets up the parser, too. - View(bool, bool &, KPopupMenu *, TQWidget* tqparent=NULL, const char* name=NULL ); + View(bool, bool &, KPopupMenu *, TQWidget* parent=NULL, const char* name=NULL ); void setMinMaxDlg(KMinMax *); virtual ~View(); diff --git a/kmplot/kmplot/coordsconfigdialog.cpp b/kmplot/kmplot/coordsconfigdialog.cpp index ac4fac64..37e92b16 100644 --- a/kmplot/kmplot/coordsconfigdialog.cpp +++ b/kmplot/kmplot/coordsconfigdialog.cpp @@ -32,8 +32,8 @@ #include "settingspagecoords.h" #include "coordsconfigdialog.h" -CoordsConfigDialog::CoordsConfigDialog(XParser *p, TQWidget *tqparent) - : KConfigDialog(tqparent, "coords", Settings::self()), m_parser(p) +CoordsConfigDialog::CoordsConfigDialog(XParser *p, TQWidget *parent) + : KConfigDialog(parent, "coords", Settings::self()), m_parser(p) { configAxesDialog = new SettingsPageCoords( 0, "coordsSettings" ); addPage(configAxesDialog , i18n( "Coords" ), "coords", i18n( "Edit Coordinate System" ) ); diff --git a/kmplot/kmplot/coordsconfigdialog.h b/kmplot/kmplot/coordsconfigdialog.h index 1b5c7856..8e3dd43d 100644 --- a/kmplot/kmplot/coordsconfigdialog.h +++ b/kmplot/kmplot/coordsconfigdialog.h @@ -41,7 +41,7 @@ class CoordsConfigDialog : public KConfigDialog Q_OBJECT TQ_OBJECT public: - CoordsConfigDialog(XParser *p, TQWidget *tqparent = 0); + CoordsConfigDialog(XParser *p, TQWidget *parent = 0); ~CoordsConfigDialog(); protected slots: virtual void slotOk(); diff --git a/kmplot/kmplot/editfunction.cpp b/kmplot/kmplot/editfunction.cpp index 90783191..a503884f 100644 --- a/kmplot/kmplot/editfunction.cpp +++ b/kmplot/kmplot/editfunction.cpp @@ -56,8 +56,8 @@ #include "editintegralpage.h" #include "kparametereditor.h" -EditFunction::EditFunction( XParser* parser, TQWidget* tqparent, const char* name ) : - KDialogBase( IconList, "Caption", Help|Ok|Cancel, Ok, tqparent, name ), m_parser(parser) +EditFunction::EditFunction( XParser* parser, TQWidget* parent, const char* name ) : + KDialogBase( IconList, "Caption", Help|Ok|Cancel, Ok, parent, name ), m_parser(parser) { TQVBox *page0 = addVBoxPage( i18n("Function"), i18n( "Function" ), SmallIcon( "func", 32 ) ); editfunctionpage = new EditFunctionPage( page0 ); diff --git a/kmplot/kmplot/editfunction.h b/kmplot/kmplot/editfunction.h index ef2613a1..51cf2186 100644 --- a/kmplot/kmplot/editfunction.h +++ b/kmplot/kmplot/editfunction.h @@ -42,9 +42,9 @@ class EditFunction : public KDialogBase TQ_OBJECT public: /// @param parser points to the parser instance. - /// @param tqparent points to the tqparent widget. + /// @param parent points to the parent widget. /// @param name of this instance. - EditFunction( XParser* parser, TQWidget* tqparent = NULL, const char* name = NULL ); + EditFunction( XParser* parser, TQWidget* parent = NULL, const char* name = NULL ); /// Nothing special to do. virtual ~EditFunction() {} /// Fill the dialog's widgets with the properties of the parser function number index. diff --git a/kmplot/kmplot/kconstanteditor.cpp b/kmplot/kmplot/kconstanteditor.cpp index 59101073..6318e124 100644 --- a/kmplot/kmplot/kconstanteditor.cpp +++ b/kmplot/kmplot/kconstanteditor.cpp @@ -40,8 +40,8 @@ #include "kconstanteditor.h" -KConstantEditor::KConstantEditor(View *v, TQWidget *tqparent, const char *name) - : QConstantEditor(tqparent,name), m_view(v) +KConstantEditor::KConstantEditor(View *v, TQWidget *parent, const char *name) + : QConstantEditor(parent,name), m_view(v) { TQString str_value; TQValueVector::iterator it; diff --git a/kmplot/kmplot/kconstanteditor.h b/kmplot/kmplot/kconstanteditor.h index d8514064..85fdd268 100644 --- a/kmplot/kmplot/kconstanteditor.h +++ b/kmplot/kmplot/kconstanteditor.h @@ -39,7 +39,7 @@ class KConstantEditor : public QConstantEditor Q_OBJECT TQ_OBJECT public: - KConstantEditor(View *, TQWidget *tqparent = 0, const char *name = 0); + KConstantEditor(View *, TQWidget *parent = 0, const char *name = 0); ~KConstantEditor(); public slots: diff --git a/kmplot/kmplot/keditconstant.cpp b/kmplot/kmplot/keditconstant.cpp index 0ab01836..6fa8a0b1 100644 --- a/kmplot/kmplot/keditconstant.cpp +++ b/kmplot/kmplot/keditconstant.cpp @@ -32,8 +32,8 @@ #include "keditconstant.h" -KEditConstant::KEditConstant(XParser *p, char &c, TQString &v, TQWidget *tqparent, const char *name) - : QEditConstant(tqparent, name,TQt::WDestructiveClose), constant(c), value(v), m_parser(p) +KEditConstant::KEditConstant(XParser *p, char &c, TQString &v, TQWidget *parent, const char *name) + : QEditConstant(parent, name,TQt::WDestructiveClose), constant(c), value(v), m_parser(p) { if ( constant != '0' ) { diff --git a/kmplot/kmplot/keditconstant.h b/kmplot/kmplot/keditconstant.h index dcc61298..20455bf7 100644 --- a/kmplot/kmplot/keditconstant.h +++ b/kmplot/kmplot/keditconstant.h @@ -38,7 +38,7 @@ class KEditConstant : public QEditConstant Q_OBJECT TQ_OBJECT public: - KEditConstant(XParser *p, char &, TQString &,TQWidget *tqparent = 0, const char *name = 0); + KEditConstant(XParser *p, char &, TQString &,TQWidget *parent = 0, const char *name = 0); ~KEditConstant(); public slots: diff --git a/kmplot/kmplot/keditparametric.cpp b/kmplot/kmplot/keditparametric.cpp index 4f133874..0bfe1007 100644 --- a/kmplot/kmplot/keditparametric.cpp +++ b/kmplot/kmplot/keditparametric.cpp @@ -41,8 +41,8 @@ #include "xparser.h" #include "View.h" -KEditParametric::KEditParametric( XParser* parser, TQWidget* tqparent, const char* name ) : - QEditParametric( tqparent, name ), m_parser(parser) +KEditParametric::KEditParametric( XParser* parser, TQWidget* parent, const char* name ) : + QEditParametric( parent, name ), m_parser(parser) { connect( customMinRange, TQT_SIGNAL ( toggled(bool) ), this, TQT_SLOT( customMinRange_toggled(bool) ) ); connect( customMaxRange, TQT_SIGNAL ( toggled(bool) ), this, TQT_SLOT( customMaxRange_toggled(bool) ) ); diff --git a/kmplot/kmplot/keditparametric.h b/kmplot/kmplot/keditparametric.h index 10a69dec..3272731f 100644 --- a/kmplot/kmplot/keditparametric.h +++ b/kmplot/kmplot/keditparametric.h @@ -39,9 +39,9 @@ class KEditParametric : public QEditParametric TQ_OBJECT public: /// @param parser points to the parser instance. - /// @param tqparent points to the tqparent widget. + /// @param parent points to the parent widget. /// @param name of this instance. - KEditParametric( XParser* parser, TQWidget* tqparent = NULL, const char* name = NULL ); + KEditParametric( XParser* parser, TQWidget* parent = NULL, const char* name = NULL ); /// Nothing special to do. virtual ~KEditParametric() {} diff --git a/kmplot/kmplot/keditpolar.cpp b/kmplot/kmplot/keditpolar.cpp index e37372e9..c329e320 100644 --- a/kmplot/kmplot/keditpolar.cpp +++ b/kmplot/kmplot/keditpolar.cpp @@ -42,8 +42,8 @@ #include "xparser.h" #include "View.h" -KEditPolar::KEditPolar( XParser* parser, TQWidget* tqparent, const char* name ) : - QEditPolar( tqparent, name ),m_parser(parser) +KEditPolar::KEditPolar( XParser* parser, TQWidget* parent, const char* name ) : + QEditPolar( parent, name ),m_parser(parser) { connect( customMinRange, TQT_SIGNAL ( toggled(bool) ), this, TQT_SLOT( customMinRange_toggled(bool) ) ); connect( customMaxRange, TQT_SIGNAL ( toggled(bool) ), this, TQT_SLOT( customMaxRange_toggled(bool) ) ); diff --git a/kmplot/kmplot/keditpolar.h b/kmplot/kmplot/keditpolar.h index 8b199110..ad73cdc4 100644 --- a/kmplot/kmplot/keditpolar.h +++ b/kmplot/kmplot/keditpolar.h @@ -39,9 +39,9 @@ class KEditPolar : public QEditPolar TQ_OBJECT public: /// @param parser points to the parser instance. - /// @param tqparent points to the tqparent widget. + /// @param parent points to the parent widget. /// @param name of this instance. - KEditPolar( XParser* parser, TQWidget* tqparent = NULL, const char* name = NULL ); + KEditPolar( XParser* parser, TQWidget* parent = NULL, const char* name = NULL ); /// Nothing special to do. virtual ~KEditPolar() {} diff --git a/kmplot/kmplot/kminmax.cpp b/kmplot/kmplot/kminmax.cpp index cda39f54..ce013373 100644 --- a/kmplot/kmplot/kminmax.cpp +++ b/kmplot/kmplot/kminmax.cpp @@ -36,8 +36,8 @@ #include "kminmax.h" #include "xparser.h" -KMinMax::KMinMax(View *v, TQWidget *tqparent, const char *name) - : QMinMax(tqparent, name), m_view(v) +KMinMax::KMinMax(View *v, TQWidget *parent, const char *name) + : QMinMax(parent, name), m_view(v) { m_mode=-1; connect( cmdClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( close() )); diff --git a/kmplot/kmplot/kminmax.h b/kmplot/kmplot/kminmax.h index 718b072a..9fa081fc 100644 --- a/kmplot/kmplot/kminmax.h +++ b/kmplot/kmplot/kminmax.h @@ -38,7 +38,7 @@ class KMinMax : public QMinMax Q_OBJECT TQ_OBJECT public: - KMinMax(View *, TQWidget *tqparent = 0, const char *name = 0); + KMinMax(View *, TQWidget *parent = 0, const char *name = 0); /// called every time the dialog is opened void init(char); /// update the list with functions diff --git a/kmplot/kmplot/kmplotio.h b/kmplot/kmplot/kmplotio.h index 04425ed2..3a92aa75 100644 --- a/kmplot/kmplot/kmplotio.h +++ b/kmplot/kmplot/kmplotio.h @@ -60,7 +60,7 @@ class KmPlotIO private: /** Esay way to add a tag to the Dom tree * @param &doc The document. - * @param parentTag The tqparent tag to support encapsulated tags. + * @param parentTag The parent tag to support encapsulated tags. * @param tagName The Name of the tag. * @param tagValue The data between the opening and cloding tag. */ diff --git a/kmplot/kmplot/kmplotprogress.cpp b/kmplot/kmplot/kmplotprogress.cpp index 0df07475..e2b204f3 100644 --- a/kmplot/kmplot/kmplotprogress.cpp +++ b/kmplot/kmplot/kmplotprogress.cpp @@ -29,7 +29,7 @@ #include "kmplotprogress.h" //#include "kmplotprogress.tqmoc.cpp" -KmPlotProgress::KmPlotProgress( TQWidget* tqparent, const char* name ) : TQWidget( tqparent, name) +KmPlotProgress::KmPlotProgress( TQWidget* parent, const char* name ) : TQWidget( parent, name) { button = new KPushButton(this); button->setPixmap( SmallIcon( "cancel" ) ); diff --git a/kmplot/kmplot/kmplotprogress.h b/kmplot/kmplot/kmplotprogress.h index f556921b..5d01a401 100644 --- a/kmplot/kmplot/kmplotprogress.h +++ b/kmplot/kmplot/kmplotprogress.h @@ -35,7 +35,7 @@ class KmPlotProgress: public TQWidget Q_OBJECT TQ_OBJECT public: - KmPlotProgress( TQWidget* tqparent = 0, const char* name = 0 ); + KmPlotProgress( TQWidget* parent = 0, const char* name = 0 ); ~KmPlotProgress(); void increase(); diff --git a/kmplot/kmplot/kparametereditor.cpp b/kmplot/kmplot/kparametereditor.cpp index 719b08d7..17586610 100644 --- a/kmplot/kmplot/kparametereditor.cpp +++ b/kmplot/kmplot/kparametereditor.cpp @@ -42,8 +42,8 @@ class ParameterValueList; -KParameterEditor::KParameterEditor(XParser *m, TQValueList *l, TQWidget *tqparent, const char *name) - : QParameterEditor(tqparent,name, true, TQt::WDestructiveClose), m_parameter(l), m_parser(m) +KParameterEditor::KParameterEditor(XParser *m, TQValueList *l, TQWidget *parent, const char *name) + : QParameterEditor(parent,name, true, TQt::WDestructiveClose), m_parameter(l), m_parser(m) { for ( TQValueList::Iterator it = m_parameter->begin(); it != m_parameter->end(); ++it ) list->insertItem( (*it).expression ); diff --git a/kmplot/kmplot/kparametereditor.h b/kmplot/kmplot/kparametereditor.h index e27b7fcc..8e3f6243 100644 --- a/kmplot/kmplot/kparametereditor.h +++ b/kmplot/kmplot/kparametereditor.h @@ -40,7 +40,7 @@ class KParameterEditor : public QParameterEditor Q_OBJECT TQ_OBJECT public: - KParameterEditor(XParser *, TQValueList *, TQWidget *tqparent = 0, const char *name = 0); + KParameterEditor(XParser *, TQValueList *, TQWidget *parent = 0, const char *name = 0); ~KParameterEditor(); public slots: diff --git a/kmplot/kmplot/kprinterdlg.cpp b/kmplot/kmplot/kprinterdlg.cpp index 643ab21b..4ddc63f4 100644 --- a/kmplot/kmplot/kprinterdlg.cpp +++ b/kmplot/kmplot/kprinterdlg.cpp @@ -33,8 +33,8 @@ // local includes #include "kprinterdlg.h" -KPrinterDlg::KPrinterDlg( TQWidget *tqparent, const char *name ) - : KPrintDialogPage( tqparent, name ) +KPrinterDlg::KPrinterDlg( TQWidget *parent, const char *name ) + : KPrintDialogPage( parent, name ) { setTitle( i18n( "KmPlot Options" ) ); TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); diff --git a/kmplot/kmplot/kprinterdlg.h b/kmplot/kmplot/kprinterdlg.h index 27be9a52..656be463 100644 --- a/kmplot/kmplot/kprinterdlg.h +++ b/kmplot/kmplot/kprinterdlg.h @@ -45,7 +45,7 @@ class KPrinterDlg : public KPrintDialogPage TQ_OBJECT public: /// Getting the common arguments. - KPrinterDlg( TQWidget *tqparent = 0, const char *name = 0 ); + KPrinterDlg( TQWidget *parent = 0, const char *name = 0 ); /// Reimplemented. void getOptions( TQMap& opts, bool include_def = false ); diff --git a/kmplot/kmplot/ksliderwindow.cpp b/kmplot/kmplot/ksliderwindow.cpp index 758f6abc..491e3889 100644 --- a/kmplot/kmplot/ksliderwindow.cpp +++ b/kmplot/kmplot/ksliderwindow.cpp @@ -42,8 +42,8 @@ // local includes #include "ksliderwindow.h" -KSliderWindow::KSliderWindow(TQWidget* tqparent, int num ) : - SliderWindow( tqparent, "", false, TQt::WStyle_Tool-TQt::WStyle_Maximize ), m_num(num) +KSliderWindow::KSliderWindow(TQWidget* parent, int num ) : + SliderWindow( parent, "", false, TQt::WStyle_Tool-TQt::WStyle_Maximize ), m_num(num) { setCaption(i18n( "Slider %1" ).tqarg( num+1 ) ); TQToolTip::add( slider, i18n( "Slider no. %1" ).tqarg( num+1 )); diff --git a/kmplot/kmplot/ksliderwindow.h b/kmplot/kmplot/ksliderwindow.h index 79a3f089..39a1d38b 100644 --- a/kmplot/kmplot/ksliderwindow.h +++ b/kmplot/kmplot/ksliderwindow.h @@ -36,9 +36,9 @@ class KSliderWindow : public SliderWindow Q_OBJECT TQ_OBJECT public: - /// @param tqparent points to the tqparent widget. + /// @param parent points to the parent widget. /// @param num number of this instance. - KSliderWindow(TQWidget* tqparent, int num ); + KSliderWindow(TQWidget* parent, int num ); virtual ~KSliderWindow(); private slots: -- cgit v1.2.1