summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectnewgeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectnewgeneral.cpp')
-rw-r--r--quanta/project/projectnewgeneral.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/quanta/project/projectnewgeneral.cpp b/quanta/project/projectnewgeneral.cpp
index ce9faf08..1503b951 100644
--- a/quanta/project/projectnewgeneral.cpp
+++ b/quanta/project/projectnewgeneral.cpp
@@ -67,21 +67,21 @@ ProjectNewGeneral::ProjectNewGeneral(TQWidget *parent, const char *name )
linePrjTmpl->setText("templates");
linePrjToolbar->setText("toolbars");
- connect(comboProtocol, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotProtocolChanged(const TQString &)));
- connect( linePrjFile, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( linePrjName, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( linePrjDir, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( buttonDir, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotButtonDir()));
- connect( linePrjName, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotChangeNames(const TQString &)));
- connect( linePrjTmpl, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( buttonTmpl, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonTmpl()));
- connect( linePrjToolbar, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotLinePrjFile(const TQString &)));
- connect( buttonToolbar, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonToolbar()));
+ connect(comboProtocol, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotProtocolChanged(const TQString &)));
+ connect( linePrjFile, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( linePrjName, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( linePrjDir, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( buttonDir, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotButtonDir()));
+ connect( linePrjName, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotChangeNames(const TQString &)));
+ connect( linePrjTmpl, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( buttonTmpl, TQ_SIGNAL(clicked()), TQ_SLOT(slotButtonTmpl()));
+ connect( linePrjToolbar, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotLinePrjFile(const TQString &)));
+ connect( buttonToolbar, TQ_SIGNAL(clicked()), TQ_SLOT(slotButtonToolbar()));
linePrjTmpl->installEventFilter(this);
linePrjToolbar->installEventFilter(this);
@@ -218,7 +218,7 @@ bool ProjectNewGeneral::eventFilter ( TQObject * watched, TQEvent * e )
{
if (e->type() == TQEvent::FocusOut)
{
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(linePrjTmpl))
+ if (watched == linePrjTmpl)
{
KURL url = baseUrl;
QuantaCommon::setUrl(url, linePrjTmpl->text());
@@ -231,7 +231,7 @@ bool ProjectNewGeneral::eventFilter ( TQObject * watched, TQEvent * e )
} else
emit enableNextButton(this, true);
} else
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(linePrjToolbar))
+ if (watched == linePrjToolbar)
{
KURL url = baseUrl;
QuantaCommon::setUrl(url, linePrjToolbar->text());