summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevproject.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/interfaces/kdevproject.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/kdevproject.cpp')
-rw-r--r--lib/interfaces/kdevproject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/interfaces/kdevproject.cpp b/lib/interfaces/kdevproject.cpp
index f558cc48..1c334a8d 100644
--- a/lib/interfaces/kdevproject.cpp
+++ b/lib/interfaces/kdevproject.cpp
@@ -37,8 +37,8 @@ struct KDevProject::Private {
KDevProjectIface *m_iface;
};
-KDevProject::KDevProject(const KDevPluginInfo *info, TQObject *parent, const char *name)
- : KDevPlugin(info, parent, name), d(new KDevProject::Private())
+KDevProject::KDevProject(const KDevPluginInfo *info, TQObject *tqparent, const char *name)
+ : KDevPlugin(info, tqparent, name), d(new KDevProject::Private())
{
connect( this, TQT_SIGNAL(addedFilesToProject(const TQStringList& )), this, TQT_SLOT(buildFileMap()) );
connect( this, TQT_SIGNAL(removedFilesFromProject(const TQStringList& )), this, TQT_SLOT(buildFileMap()) );
@@ -80,14 +80,14 @@ KDevProject::Options KDevProject::options() const
bool KDevProject::isProjectFile( const TQString & absFileName )
{
- return d->m_absToRel.contains( absFileName );
+ return d->m_absToRel.tqcontains( absFileName );
}
TQString KDevProject::relativeProjectFile( const TQString & absFileName )
{
if( isProjectFile(absFileName) )
return d->m_absToRel[ absFileName ];
- return TQString::null;
+ return TQString();
}
void KDevProject::buildFileMap()