summaryrefslogtreecommitdiffstats
path: root/kedit
diff options
context:
space:
mode:
Diffstat (limited to 'kedit')
-rw-r--r--kedit/kedit.cpp4
-rw-r--r--kedit/kedit.h4
-rw-r--r--kedit/ktextfiledlg.cpp12
-rw-r--r--kedit/ktextfiledlg.h6
4 files changed, 13 insertions, 13 deletions
diff --git a/kedit/kedit.cpp b/kedit/kedit.cpp
index efffb67..d5bcba5 100644
--- a/kedit/kedit.cpp
+++ b/kedit/kedit.cpp
@@ -1317,8 +1317,8 @@ extern "C" KDE_EXPORT int kdemain (int argc, char **argv)
return a.exec ();
}
-SettingsDialog::SettingsDialog(TQWidget *tqparent, const char *name,KConfigSkeleton *config, KSpellConfig *_spellConfig)
- : KConfigDialog(tqparent, name, config),
+SettingsDialog::SettingsDialog(TQWidget *parent, const char *name,KConfigSkeleton *config, KSpellConfig *_spellConfig)
+ : KConfigDialog(parent, name, config),
spellConfig(_spellConfig), spellConfigChanged(false)
{
// Font
diff --git a/kedit/kedit.h b/kedit/kedit.h
index 6bc22d4..9faba86 100644
--- a/kedit/kedit.h
+++ b/kedit/kedit.h
@@ -62,7 +62,7 @@ public:
OPEN_INSERT = 4,
OPEN_NEW = 8 };
- TopLevel( TQWidget *tqparent=0, const char *name=0 );
+ TopLevel( TQWidget *parent=0, const char *name=0 );
~TopLevel();
/**
@@ -209,7 +209,7 @@ Q_OBJECT
TQ_OBJECT
public:
- SettingsDialog(TQWidget *tqparent, const char *name,KConfigSkeleton *config, KSpellConfig *_spellConfig);
+ SettingsDialog(TQWidget *parent, const char *name,KConfigSkeleton *config, KSpellConfig *_spellConfig);
protected slots:
void updateSettings();
diff --git a/kedit/ktextfiledlg.cpp b/kedit/ktextfiledlg.cpp
index a35f82e..32dfc19 100644
--- a/kedit/ktextfiledlg.cpp
+++ b/kedit/ktextfiledlg.cpp
@@ -32,9 +32,9 @@
KTextFileDialog::KTextFileDialog(const TQString& startDir,
const TQString& filter,
- TQWidget *tqparent, const char* name,
+ TQWidget *parent, const char* name,
bool modal)
- : KFileDialog(startDir, filter, tqparent, name, modal)
+ : KFileDialog(startDir, filter, parent, name, modal)
{
/*
// insert encoding action into toolbar
@@ -144,12 +144,12 @@ void KTextFileDialog::slotShowEncCombo()
KURL KTextFileDialog::getOpenURLwithEncoding(
const TQString& startDir,
const TQString& filter,
- TQWidget *tqparent,
+ TQWidget *parent,
const TQString& caption,
const TQString& encoding,
const TQString& buttontext)
{
- KTextFileDialog dlg(startDir, filter, tqparent, "filedialog", true);
+ KTextFileDialog dlg(startDir, filter, parent, "filedialog", true);
dlg.setEncoding(encoding);
dlg.setOperationMode( Opening );
@@ -175,11 +175,11 @@ KURL KTextFileDialog::getOpenURLwithEncoding(
KURL KTextFileDialog::getSaveURLwithEncoding(
const TQString& dir, const TQString& filter,
- TQWidget *tqparent,
+ TQWidget *parent,
const TQString& caption,
const TQString& encoding)
{
- KTextFileDialog dlg(dir, filter, tqparent, "filedialog", true);
+ KTextFileDialog dlg(dir, filter, parent, "filedialog", true);
dlg.setEncoding(encoding);
dlg.setOperationMode( Saving );
diff --git a/kedit/ktextfiledlg.h b/kedit/ktextfiledlg.h
index eda651a..d4bd76e 100644
--- a/kedit/ktextfiledlg.h
+++ b/kedit/ktextfiledlg.h
@@ -42,7 +42,7 @@ class KTextFileDialog : public KFileDialog
public:
KTextFileDialog(const TQString& startDir, const TQString& filter,
- TQWidget *tqparent, const char *name,
+ TQWidget *parent, const char *name,
bool modal);
~KTextFileDialog();
@@ -50,14 +50,14 @@ class KTextFileDialog : public KFileDialog
static KURL getOpenURLwithEncoding(
const TQString& startDir = TQString(),
const TQString& filter= TQString(),
- TQWidget *tqparent= 0,
+ TQWidget *parent= 0,
const TQString& caption = TQString(),
const TQString& encoding = TQString(),
const TQString& buttonText = TQString());
static KURL getSaveURLwithEncoding(
const TQString& dir, const TQString& filter,
- TQWidget *tqparent,
+ TQWidget *parent,
const TQString& caption,
const TQString& encoding = TQString());