diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 631d7b9b0878ca3842496b5719f9c5803335e150 (patch) | |
tree | d09fe0c8cd6edfd28c9c7947b0af60ccc75fbb8d /src/variouswidgets.cpp | |
parent | 33f08e93132a53bf14f41f5f1e567eeea832b336 (diff) | |
download | basket-631d7b9b0878ca3842496b5719f9c5803335e150.tar.gz basket-631d7b9b0878ca3842496b5719f9c5803335e150.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/variouswidgets.cpp')
-rw-r--r-- | src/variouswidgets.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/variouswidgets.cpp b/src/variouswidgets.cpp index 7be265f..d24725a 100644 --- a/src/variouswidgets.cpp +++ b/src/variouswidgets.cpp @@ -37,8 +37,8 @@ /** class RunCommandRequester: */ -RunCommandRequester::RunCommandRequester(const TQString &runCommand, const TQString &message, TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +RunCommandRequester::RunCommandRequester(const TQString &runCommand, const TQString &message, TQWidget *parent, const char *name) + : TQWidget(parent, name) { m_message = message; @@ -78,8 +78,8 @@ void RunCommandRequester::setRunCommand(const TQString &runCommand) /** class IconSizeCombo: */ -IconSizeCombo::IconSizeCombo(bool rw, TQWidget *tqparent, const char *name) - : TQComboBox(rw, tqparent, name) +IconSizeCombo::IconSizeCombo(bool rw, TQWidget *parent, const char *name) + : TQComboBox(rw, parent, name) { insertItem(i18n("16 by 16 pixels")); insertItem(i18n("22 by 22 pixels")); @@ -122,8 +122,8 @@ void IconSizeCombo::setSize(int size) /** class ViewSizeDialog: */ -ViewSizeDialog::ViewSizeDialog(TQWidget *tqparent, int w, int h) - : TQDialog(tqparent, "ViewSizeDialog") +ViewSizeDialog::ViewSizeDialog(TQWidget *parent, int w, int h) + : TQDialog(parent, "ViewSizeDialog") { TQLabel *label = new TQLabel(i18n( "Resize the window to select the image size\n" @@ -150,8 +150,8 @@ void ViewSizeDialog::resizeEvent(TQResizeEvent *) /** class HelpLabel: */ -HelpLabel::HelpLabel(const TQString &text, const TQString &message, TQWidget *tqparent) - : KURLLabel(tqparent), m_message(message) +HelpLabel::HelpLabel(const TQString &text, const TQString &message, TQWidget *parent) + : KURLLabel(parent), m_message(message) { setText(text); connect( this, TQT_SIGNAL(leftClickedURL()), this, TQT_SLOT(showMessage()) ); @@ -179,13 +179,13 @@ void HelpLabel::keyPressEvent(TQKeyEvent *event) class UndraggableKIconView : public KIconView { public: - UndraggableKIconView(TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0) : KIconView(tqparent, name, f) {} + UndraggableKIconView(TQWidget * parent = 0, const char * name = 0, WFlags f = 0) : KIconView(parent, name, f) {} TQDragObject* dragObject() { return 0; } }; -IconSizeDialog::IconSizeDialog(const TQString &caption, const TQString &message, const TQString &icon, int iconSize, TQWidget *tqparent) +IconSizeDialog::IconSizeDialog(const TQString &caption, const TQString &message, const TQString &icon, int iconSize, TQWidget *parent) : KDialogBase(KDialogBase::Swallow, caption, KDialogBase::Ok | KDialogBase::Cancel, - KDialogBase::Ok, tqparent, /*name=*/0, /*modal=*/true, /*separator=*/false) + KDialogBase::Ok, parent, /*name=*/0, /*modal=*/true, /*separator=*/false) { TQWidget *page = new TQWidget(this); TQVBoxLayout *topLayout = new TQVBoxLayout(page, /*margin=*/0, spacingHint()); @@ -262,8 +262,8 @@ void IconSizeDialog::slotCancel() /** class FontSizeCombo: */ -FontSizeCombo::FontSizeCombo(bool rw, bool withDefault, TQWidget *tqparent, const char *name) - : KComboBox(rw, tqparent, name), m_withDefault(withDefault) +FontSizeCombo::FontSizeCombo(bool rw, bool withDefault, TQWidget *parent, const char *name) + : KComboBox(rw, parent, name), m_withDefault(withDefault) { if (m_withDefault) insertItem(i18n("(Default)")); |