summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectnewweb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectnewweb.cpp')
-rw-r--r--quanta/project/projectnewweb.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/project/projectnewweb.cpp b/quanta/project/projectnewweb.cpp
index a087497c..08391dbe 100644
--- a/quanta/project/projectnewweb.cpp
+++ b/quanta/project/projectnewweb.cpp
@@ -38,8 +38,8 @@
#include "quantacommon.h"
#include "uploadtreeview.h"
-ProjectNewWeb::ProjectNewWeb(TQWidget *parent, const char *name )
- : ProjectNewWebS(parent,name)
+ProjectNewWeb::ProjectNewWeb(TQWidget *tqparent, const char *name )
+ : ProjectNewWebS(tqparent,name)
{
button->setEnabled(false);
siteUrl->setFocus();
@@ -99,7 +99,7 @@ void ProjectNewWeb::slotStart()
{
emit enableMessagesWidget();
- if (QExtFileInfo::createDir(baseURL, this))
+ if (TQExtFileInfo::createDir(baseURL, this))
{
if (baseURL.protocol() == "file")
{
@@ -126,7 +126,7 @@ void ProjectNewWeb::slotStart()
{
start = true;
button->setText( i18n("Stop") );
- emit enableNextButton((TQWidget *)this->parent(),false);
+ emit enableNextButton((TQWidget *)this->tqparent(),false);
} else
{
KMessageBox::error(this, i18n("There was an error while trying to run the \"wget\" application.\
@@ -138,14 +138,14 @@ void ProjectNewWeb::slotStart()
KMessageBox::sorry(this,i18n("This feature is available only if the project lies on a local disk."));
start = false;
button->setText( i18n("Start") );
- emit enableNextButton((TQWidget *)this->parent(),true);
+ emit enableNextButton((TQWidget *)this->tqparent(),true);
}
} else
{
QuantaCommon::dirCreationError(this, baseURL);
start = false;
button->setText( i18n("Start") );
- emit enableNextButton((TQWidget *)this->parent(),true);
+ emit enableNextButton((TQWidget *)this->tqparent(),true);
}
} else {
@@ -155,7 +155,7 @@ void ProjectNewWeb::slotStart()
start = false;
button->setText( i18n("Start") );
- emit enableNextButton((TQWidget *)this->parent(),true);
+ emit enableNextButton((TQWidget *)this->tqparent(),true);
}
}
@@ -166,7 +166,7 @@ void ProjectNewWeb::slotGetWgetExited(KProcess*)
start = false;
button->setText( i18n("Start") );
emit messages(i18n("wget finished...\n"));
- emit enableNextButton((TQWidget *)this->parent(),true);
+ emit enableNextButton((TQWidget *)this->tqparent(),true);
}
void ProjectNewWeb::slotGetWgetOutput(KProcess *, char *buffer, int buflen)
@@ -178,7 +178,7 @@ void ProjectNewWeb::slotGetWgetOutput(KProcess *, char *buffer, int buflen)
int pos;
TQString basePath = baseURL.path(1);
- while ( (pos = output.find("saved")) != -1 )
+ while ( (pos = output.tqfind("saved")) != -1 )
{
if (KLed1->state() == KLed::Off)
{
@@ -189,13 +189,13 @@ void ProjectNewWeb::slotGetWgetOutput(KProcess *, char *buffer, int buflen)
KLed2->setState(KLed::On);
KLed1->setState(KLed::Off);
}
- int begName = output.findRev('`',pos);
+ int begName = output.tqfindRev('`',pos);
if ( begName == -1 ) {
output = output.remove(0,pos+1);
continue;
}
- int endName = output.find('\'',begName);
+ int endName = output.tqfind('\'',begName);
if ( endName == -1 || endName > pos ) {
output = output.remove(0,pos+1);
continue;