summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles/custommanagerwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/custommakefiles/custommanagerwidget.cpp')
-rw-r--r--buildtools/custommakefiles/custommanagerwidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/buildtools/custommakefiles/custommanagerwidget.cpp b/buildtools/custommakefiles/custommanagerwidget.cpp
index 9001480e..84278a69 100644
--- a/buildtools/custommakefiles/custommanagerwidget.cpp
+++ b/buildtools/custommakefiles/custommanagerwidget.cpp
@@ -11,11 +11,11 @@
#include "custommanagerwidget.h"
-#include <qstringlist.h>
-#include <qlayout.h>
-#include <qlistbox.h>
-#include <qwhatsthis.h>
-#include <qtooltip.h>
+#include <tqstringlist.h>
+#include <tqlayout.h>
+#include <tqlistbox.h>
+#include <tqwhatsthis.h>
+#include <tqtooltip.h>
#include <ktextedit.h>
#include <kurlrequester.h>
@@ -28,13 +28,13 @@
#include "customprojectpart.h"
#include "domutil.h"
-CustomManagerWidget::CustomManagerWidget( CustomProjectPart* part, QWidget* parent )
+CustomManagerWidget::CustomManagerWidget( CustomProjectPart* part, TQWidget* parent )
: CustomManagerWidgetBase( parent ), m_part( part), m_dom( *part->projectDom() )
{
m_filetypes->insertStringList( DomUtil::readListEntry( m_dom, "kdevcustomproject/filetypes", "filetype" ) );
KURLRequester* urlselector = new KURLRequester( );
urlselector->setMode( KFile::File | KFile::ExistingOnly | KFile::LocalOnly );
- urlselector->setURL( QString::null );
+ urlselector->setURL( TQString::null );
urlselector->completionObject() ->setDir( part->projectDirectory() );
urlselector->fileDialog() ->setURL( KURL( part->projectDirectory() ) );
m_blacklistBox = new KEditListBox( i18n("blacklisted files and directories are not"
@@ -44,17 +44,17 @@ CustomManagerWidget::CustomManagerWidget( CustomProjectPart* part, QWidget* pare
m_blacklistBox->setButtons( KEditListBox::Add | KEditListBox::Remove );
m_blacklistBox->insertStringList( DomUtil::readListEntry( m_dom, "kdevcustomproject/blacklist","path") );
grid->addWidget( m_blacklistBox, 0, 1 );
- connect(m_blacklistBox, SIGNAL(added(const QString&)), this, SLOT(checkUrl(const QString&)));
+ connect(m_blacklistBox, TQT_SIGNAL(added(const TQString&)), this, TQT_SLOT(checkUrl(const TQString&)));
}
-void CustomManagerWidget::checkUrl(const QString& url)
+void CustomManagerWidget::checkUrl(const TQString& url)
{
kdDebug(9025) << "got file:" << url << endl;
- if( !QFileInfo(url).isRelative() )
+ if( !TQFileInfo(url).isRelative() )
{
kdDebug(9025) << "seems to be non-relative" << endl;
- QString relpath = m_part->relativeToProject( url );
- QListBoxItem* item = m_blacklistBox->listBox()->findItem( url );
+ TQString relpath = m_part->relativeToProject( url );
+ TQListBoxItem* item = m_blacklistBox->listBox()->findItem( url );
m_blacklistBox->listBox()->takeItem( item );
kdDebug(9025) << "relative path:" << relpath << endl;
if( !relpath.isEmpty() )