summaryrefslogtreecommitdiffstats
path: root/src/common/gui/purl_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/purl_gui.h')
-rw-r--r--src/common/gui/purl_gui.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/common/gui/purl_gui.h b/src/common/gui/purl_gui.h
index d554636..3d29319 100644
--- a/src/common/gui/purl_gui.h
+++ b/src/common/gui/purl_gui.h
@@ -37,7 +37,7 @@ class Label : public KURLLabel
Q_OBJECT
TQ_OBJECT
public:
- Label(const TQString &url, const TQString &text, TQWidget *tqparent = 0, const char *name = 0);
+ Label(const TQString &url, const TQString &text, TQWidget *parent = 0, const char *name = 0);
private slots:
void urlClickedSlot();
@@ -49,8 +49,8 @@ class BaseWidget : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- BaseWidget(TQWidget *tqparent = 0, const char *name = 0);
- BaseWidget(const TQString &defaultDir, TQWidget *tqparent = 0, const char *name = 0);
+ BaseWidget(TQWidget *parent = 0, const char *name = 0);
+ BaseWidget(const TQString &defaultDir, TQWidget *parent = 0, const char *name = 0);
KLineEdit *lineEdit() { return _edit; }
signals:
@@ -72,8 +72,8 @@ class DirectoryWidget : public BaseWidget
Q_OBJECT
TQ_OBJECT
public:
- DirectoryWidget(TQWidget *tqparent = 0, const char *name = 0) : BaseWidget(tqparent, name) {}
- DirectoryWidget(const TQString &defaultDir, TQWidget *tqparent = 0, const char *name = 0) : BaseWidget(defaultDir, tqparent, name) {}
+ DirectoryWidget(TQWidget *parent = 0, const char *name = 0) : BaseWidget(parent, name) {}
+ DirectoryWidget(const TQString &defaultDir, TQWidget *parent = 0, const char *name = 0) : BaseWidget(defaultDir, parent, name) {}
void setDirectory(const Directory &dir) { _edit->setText(dir.path()); }
Directory directory() const { return _edit->text(); }
@@ -87,8 +87,8 @@ class DirectoriesWidget : public TQVGroupBox
Q_OBJECT
TQ_OBJECT
public:
- DirectoriesWidget(const TQString &title, TQWidget *tqparent = 0, const char *name = 0);
- DirectoriesWidget(const TQString &title, const TQString &defaultDir, TQWidget *tqparent = 0, const char *name = 0);
+ DirectoriesWidget(const TQString &title, TQWidget *parent = 0, const char *name = 0);
+ DirectoriesWidget(const TQString &title, const TQString &defaultDir, TQWidget *parent = 0, const char *name = 0);
void setDirectories(const TQStringList &dirs) { _editListBox->setTexts(dirs); }
TQStringList directories() const { return _editListBox->texts(); }
@@ -106,10 +106,10 @@ class UrlWidget : public BaseWidget
Q_OBJECT
TQ_OBJECT
public:
- UrlWidget(const TQString &filter, TQWidget *tqparent = 0, const char *name = 0)
- : BaseWidget(tqparent, name), _filter(filter) {}
- UrlWidget(const TQString &defaultDir, const TQString &filter, TQWidget *tqparent = 0, const char *name = 0)
- : BaseWidget(defaultDir, tqparent, name), _filter(filter) {}
+ UrlWidget(const TQString &filter, TQWidget *parent = 0, const char *name = 0)
+ : BaseWidget(parent, name), _filter(filter) {}
+ UrlWidget(const TQString &defaultDir, const TQString &filter, TQWidget *parent = 0, const char *name = 0)
+ : BaseWidget(defaultDir, parent, name), _filter(filter) {}
Url url() const { return PURL::Url::fromPathOrUrl(_edit->text()); }
void setUrl(const Url &url) { _edit->setText(url.filepath()); }