summaryrefslogtreecommitdiffstats
path: root/lib/widgets/flagboxes.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /lib/widgets/flagboxes.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/flagboxes.cpp')
-rw-r--r--lib/widgets/flagboxes.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/widgets/flagboxes.cpp b/lib/widgets/flagboxes.cpp
index a12c5092..0f1f9193 100644
--- a/lib/widgets/flagboxes.cpp
+++ b/lib/widgets/flagboxes.cpp
@@ -54,14 +54,14 @@ TQString TQRegExp_escape( const TQString& str )
class FlagListToolTip : public TQToolTip
{
public:
- FlagListToolTip(TQWidget *tqparent);
+ FlagListToolTip(TQWidget *parent);
protected:
void maybeTip(const TQPoint &p);
};
-FlagListToolTip::FlagListToolTip(TQWidget *tqparent)
- : TQToolTip(tqparent)
+FlagListToolTip::FlagListToolTip(TQWidget *parent)
+ : TQToolTip(parent)
{}
@@ -76,22 +76,22 @@ void FlagListToolTip::maybeTip(const TQPoint &pos)
}
-FlagListItem::FlagListItem(FlagListBox *tqparent, const TQString &flagstr,
+FlagListItem::FlagListItem(FlagListBox *parent, const TQString &flagstr,
const TQString &description)
- : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox),
+ : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox),
flag(flagstr), desc(description)
{}
-FlagListItem::FlagListItem(FlagListBox *tqparent, const TQString &flagstr,
+FlagListItem::FlagListItem(FlagListBox *parent, const TQString &flagstr,
const TQString &description, const TQString &offstr)
- : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox),
+ : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox),
flag(flagstr), off(offstr), desc(description)
{}
-FlagListBox::FlagListBox(TQWidget *tqparent, const char *name)
- : TQListView(tqparent, name)
+FlagListBox::FlagListBox(TQWidget *parent, const char *name)
+ : TQListView(parent, name)
{
setResizeMode(LastColumn);
header()->hide();
@@ -130,28 +130,28 @@ void FlagListBox::writeFlags(TQStringList *list)
}
-FlagCheckBox::FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller,
+FlagCheckBox::FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller,
const TQString &flagstr, const TQString &description)
- : TQCheckBox(description, tqparent), flag(flagstr), includeOff(false), useDef(false), defSet(false)
+ : TQCheckBox(description, parent), flag(flagstr), includeOff(false), useDef(false), defSet(false)
{
TQToolTip::add(this, flagstr);
controller->addCheckBox(this);
}
-FlagCheckBox::FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller,
+FlagCheckBox::FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller,
const TQString &flagstr, const TQString &description,
const TQString &offstr)
- : TQCheckBox(description, tqparent), flag(flagstr), off(offstr), includeOff(false), useDef(false), defSet(false)
+ : TQCheckBox(description, parent), flag(flagstr), off(offstr), includeOff(false), useDef(false), defSet(false)
{
TQToolTip::add(this, flagstr);
controller->addCheckBox(this);
}
-FlagCheckBox::FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller,
+FlagCheckBox::FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller,
const TQString &flagstr, const TQString &description,
const TQString &offstr, const TQString &defstr)
- : TQCheckBox(description, tqparent), flag(flagstr), off(offstr), def(defstr), includeOff(false), useDef(true), defSet(false)
+ : TQCheckBox(description, parent), flag(flagstr), off(offstr), def(defstr), includeOff(false), useDef(true), defSet(false)
{
TQToolTip::add(this, flagstr);
controller->addCheckBox(this);
@@ -299,10 +299,10 @@ void FlagPathEditController::addPathEdit( FlagPathEdit * item )
plist.append(item);
}
-FlagPathEdit::FlagPathEdit( TQWidget * tqparent, TQString pathDelimiter,
+FlagPathEdit::FlagPathEdit( TQWidget * parent, TQString pathDelimiter,
FlagPathEditController * controller, const TQString & flagstr, const TQString & description,
KFile::Mode mode )
- : TQWidget(tqparent), delimiter(pathDelimiter), flag(flagstr), m_description(description)
+ : TQWidget(parent), delimiter(pathDelimiter), flag(flagstr), m_description(description)
{
TQBoxLayout *topLayout = new TQVBoxLayout(this, 0, 1);
topLayout->addWidget(new TQLabel(description, this));
@@ -379,8 +379,8 @@ bool FlagPathEdit::isEmpty( )
return edit->text().isEmpty();
}
-FlagRadioButton::FlagRadioButton( TQWidget * tqparent, FlagRadioButtonController * controller, const TQString & flagstr, const TQString & description )
- : TQRadioButton(description, tqparent), flag(flagstr)
+FlagRadioButton::FlagRadioButton( TQWidget * parent, FlagRadioButtonController * controller, const TQString & flagstr, const TQString & description )
+ : TQRadioButton(description, parent), flag(flagstr)
{
TQToolTip::add(this, flagstr);
controller->addRadioButton(this);
@@ -526,9 +526,9 @@ void FlagEditController::addSpinBox(FlagSpinEdit *item)
}
-FlagListEdit::FlagListEdit( TQWidget * tqparent, TQString listDelimiter, FlagEditController * controller,
+FlagListEdit::FlagListEdit( TQWidget * parent, TQString listDelimiter, FlagEditController * controller,
const TQString & flagstr, const TQString & description)
- : TQWidget(tqparent), delimiter(listDelimiter), flag(flagstr), m_description(description)
+ : TQWidget(parent), delimiter(listDelimiter), flag(flagstr), m_description(description)
{
TQBoxLayout *topLayout = new TQVBoxLayout(this, 0, 1);
topLayout->addWidget(new TQLabel(description, this));
@@ -601,8 +601,8 @@ TQStringList FlagListEdit::flags( )
return fl;
}
-FlagSpinEdit::FlagSpinEdit( TQWidget * tqparent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController * controller, const TQString & flagstr, const TQString & description )
- :TQWidget(tqparent), m_defaultVal(defaultVal), flag(flagstr)
+FlagSpinEdit::FlagSpinEdit( TQWidget * parent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController * controller, const TQString & flagstr, const TQString & description )
+ :TQWidget(parent), m_defaultVal(defaultVal), flag(flagstr)
{
TQBoxLayout *topLayout = new TQVBoxLayout(this, 0, 1);
topLayout->addWidget(new TQLabel(description, this));