summaryrefslogtreecommitdiffstats
path: root/src/variouswidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variouswidgets.cpp')
-rw-r--r--src/variouswidgets.cpp26
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)"));