summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/subprojectoptionsdlg.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 /buildtools/autotools/subprojectoptionsdlg.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 'buildtools/autotools/subprojectoptionsdlg.cpp')
-rw-r--r--buildtools/autotools/subprojectoptionsdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/buildtools/autotools/subprojectoptionsdlg.cpp b/buildtools/autotools/subprojectoptionsdlg.cpp
index a7fd2c11..314fc710 100644
--- a/buildtools/autotools/subprojectoptionsdlg.cpp
+++ b/buildtools/autotools/subprojectoptionsdlg.cpp
@@ -42,10 +42,10 @@
SubprojectOptionsDialog::SubprojectOptionsDialog(AutoProjectPart *part, AutoProjectWidget *widget,
- SubprojectItem *item, TQWidget *parent, const char *name)
- : SubprojectOptionsDialogBase(parent, name, true)
+ SubprojectItem *item, TQWidget *tqparent, const char *name)
+ : SubprojectOptionsDialogBase(tqparent, name, true)
{
- setCaption(i18n("Subproject Options for '%1'").arg(item->subdir));
+ setCaption(i18n("Subproject Options for '%1'").tqarg(item->subdir));
subProject = item;
m_part = part;
@@ -90,7 +90,7 @@ SubprojectOptionsDialog::SubprojectOptionsDialog(AutoProjectPart *part, AutoProj
TQString subProjectName = *it;
if( subProjectName.isEmpty() ){
- subProjectName = TQString::fromLatin1( "." );
+ subProjectName = TQString::tqfromLatin1( "." );
}
TQCheckListItem *clitem = new TQCheckListItem(insideinc_listview, subProjectName, TQCheckListItem::CheckBox);
if (lastItem)
@@ -182,7 +182,7 @@ void SubprojectOptionsDialog::storeConfig()
}
TQString old_metasources = subProject->variables["METASOURCES"];
- TQString new_metasources = metasources_checkbox->isChecked() ? TQString::fromLatin1("AUTO") : TQString::null;
+ TQString new_metasources = metasources_checkbox->isChecked() ? TQString::tqfromLatin1("AUTO") : TQString();
if (new_metasources != old_metasources) {
subProject->variables["METASOURCES"] = new_metasources;
replaceMap.insert("METASOURCES", new_metasources);
@@ -304,7 +304,7 @@ void SubprojectOptionsDialog::outsideAddClicked()
{
KURLRequesterDlg dialog( "", i18n( "Add Include directory: Choose directory, give -Idirectory or use a variable with -I$(FOOBAR)" ), 0, 0 );
dialog.urlRequester() ->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
- dialog.urlRequester() ->setURL( TQString::null );
+ dialog.urlRequester() ->setURL( TQString() );
if ( dialog.exec() != TQDialog::Accepted )
return ;
TQString file = dialog.urlRequester() ->url();