summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/addfiledlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools/addfiledlg.cpp')
-rw-r--r--buildtools/autotools/addfiledlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/autotools/addfiledlg.cpp b/buildtools/autotools/addfiledlg.cpp
index 56df4998..407e5109 100644
--- a/buildtools/autotools/addfiledlg.cpp
+++ b/buildtools/autotools/addfiledlg.cpp
@@ -40,8 +40,8 @@
AddFileDialog::AddFileDialog(AutoProjectPart *part, AutoProjectWidget *widget,
SubprojectItem *spitem, TargetItem *item,
- TQWidget *parent, const char *name)
- : AddFileDlgBase(parent, name, true)
+ TQWidget *tqparent, const char *name)
+ : AddFileDlgBase(tqparent, name, true)
{
connect ( createButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( accept() ) );
connect ( cancelButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( reject() ) );
@@ -68,7 +68,7 @@ AddFileDialog::~AddFileDialog()
void AddFileDialog::accept()
{
TQString name = fileEdit->text();
- if (name.find('/') != -1) {
+ if (name.tqfind('/') != -1) {
KMessageBox::sorry(this, i18n("Please enter the file name without '/' and so on."));
return;
}