From 93910780efc46524d0f2c6693784b3fa10d26985 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/kdeadmin@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lilo-config/kde/Details.cpp | 4 ++-- lilo-config/kde/Details.h | 2 +- lilo-config/kde/InputBox.cpp | 4 ++-- lilo-config/kde/InputBox.h | 2 +- lilo-config/kde/kcontrol.cpp | 8 ++++---- lilo-config/kde/kcontrol.h | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'lilo-config/kde') diff --git a/lilo-config/kde/Details.cpp b/lilo-config/kde/Details.cpp index ae82090..86e47bb 100644 --- a/lilo-config/kde/Details.cpp +++ b/lilo-config/kde/Details.cpp @@ -33,8 +33,8 @@ #include #include -Details::Details(liloimage *lilo, TQWidget *tqparent, const char *name, WFlags /* f */) - : KDialogBase(tqparent, name, true, TQString(), Ok|Cancel, Ok, true) +Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags /* f */) + : KDialogBase(parent, name, true, TQString(), Ok|Cancel, Ok, true) { l=lilo; diff --git a/lilo-config/kde/Details.h b/lilo-config/kde/Details.h index 85cfe68..ee90550 100644 --- a/lilo-config/kde/Details.h +++ b/lilo-config/kde/Details.h @@ -39,7 +39,7 @@ class Details:public KDialogBase Q_OBJECT TQ_OBJECT public: - Details(liloimage *lilo, TQWidget *tqparent=0, const char *name=0, WFlags f=0); + Details(liloimage *lilo, TQWidget *parent=0, const char *name=0, WFlags f=0); bool isReadOnly() const { return readonly->isChecked(); }; TQString vgaMode() const; bool isUnsafe() const { return unsafe->isChecked(); }; diff --git a/lilo-config/kde/InputBox.cpp b/lilo-config/kde/InputBox.cpp index 585874d..272feb4 100644 --- a/lilo-config/kde/InputBox.cpp +++ b/lilo-config/kde/InputBox.cpp @@ -31,8 +31,8 @@ #include #include -InputBox::InputBox(entries e, TQWidget *tqparent, const char *name, bool hasCancel, WFlags f) - : KDialogBase(tqparent, name, true, TQString(), hasCancel ? Ok | Cancel : Ok, Ok, true ) +InputBox::InputBox(entries e, TQWidget *parent, const char *name, bool hasCancel, WFlags f) + : KDialogBase(parent, name, true, TQString(), hasCancel ? Ok | Cancel : Ok, Ok, true ) { TQVBox *page = makeVBoxMainWidget(); for(entries::iterator it=e.begin(); it!=e.end(); it++) { diff --git a/lilo-config/kde/InputBox.h b/lilo-config/kde/InputBox.h index 50b9d10..e5ce2ec 100644 --- a/lilo-config/kde/InputBox.h +++ b/lilo-config/kde/InputBox.h @@ -43,7 +43,7 @@ class InputBox:public KDialogBase public: typedef struct { TQString label; TQString dflt; bool isFile; TQString help; } entry; typedef std::list entries; - InputBox(entries e, TQWidget *tqparent=0, const char *name=0, bool hasCancel=true, WFlags f=0); + InputBox(entries e, TQWidget *parent=0, const char *name=0, bool hasCancel=true, WFlags f=0); TQStringList const text() const { TQStringList s; for(std::list::const_iterator it=edit.begin(); it!=edit.end(); it++) s << (*it)->text(); return s; }; private: std::list edit; diff --git a/lilo-config/kde/kcontrol.cpp b/lilo-config/kde/kcontrol.cpp index dbf2f40..75f514c 100644 --- a/lilo-config/kde/kcontrol.cpp +++ b/lilo-config/kde/kcontrol.cpp @@ -35,8 +35,8 @@ #include #include -KControl::KControl(TQWidget *tqparent, const char *name) - : KCModule(tqparent, name) +KControl::KControl(TQWidget *parent, const char *name) + : KCModule(parent, name) { TQVBoxLayout *tqlayout=new TQVBoxLayout(this); m=new MainWidget(this, name); @@ -79,9 +79,9 @@ void KControl::configChanged() // SLOT extern "C" { - KDE_EXPORT KCModule *create_lilo(TQWidget *tqparent, const char *name) + KDE_EXPORT KCModule *create_lilo(TQWidget *parent, const char *name) { - return new KControl(tqparent, "kcmlilo"); + return new KControl(parent, "kcmlilo"); } } diff --git a/lilo-config/kde/kcontrol.h b/lilo-config/kde/kcontrol.h index 75d98dd..aa3c89a 100644 --- a/lilo-config/kde/kcontrol.h +++ b/lilo-config/kde/kcontrol.h @@ -40,7 +40,7 @@ class KControl: public KCModule { Q_OBJECT TQ_OBJECT public: - KControl(TQWidget *tqparent, const char *name); + KControl(TQWidget *parent, const char *name); void load(); void save(); void defaults(); -- cgit v1.2.1