aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2014-01-09 17:44:54 +0000
committerJonathan Riddell <jr@jriddell.org>2014-01-09 17:44:54 +0000
commitba26d97e6132a460f7c6c5bf89cfc69977866a73 (patch)
tree90ed6fdf582996aced410c34e062fa0765f33b92 /src
parentd761c642adcb076d9a32bf463c5d46a12b940537 (diff)
downloadkconfig-ba26d97e6132a460f7c6c5bf89cfc69977866a73.tar.gz
kconfig-ba26d97e6132a460f7c6c5bf89cfc69977866a73.tar.bz2
Further renaming to kconfig_compiler_kf5
Diffstat (limited to 'src')
-rwxr-xr-xsrc/kconfig_compiler/checkkcfg.pl4
-rw-r--r--src/kconfig_compiler/kconfig_compiler.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/kconfig_compiler/checkkcfg.pl b/src/kconfig_compiler/checkkcfg.pl
index 2eddbeee..9ebcbf83 100755
--- a/src/kconfig_compiler/checkkcfg.pl
+++ b/src/kconfig_compiler/checkkcfg.pl
@@ -15,12 +15,12 @@ $file_cpp = "$filebase.cpp";
$kcfgc = $file . "c";
-$cmd = "./kconfig_compiler $file $kcfgc";
+$cmd = "./kconfig_compiler_kf5 $file $kcfgc";
#print "CMD $cmd\n";
if ( system( $cmd ) != 0 ) {
- print STDERR "Unable to run kconfig_compiler\n";
+ print STDERR "Unable to run kconfig_compiler_kf5\n";
exit 1;
}
diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp
index bdbd03c3..1c8d1bc2 100644
--- a/src/kconfig_compiler/kconfig_compiler.cpp
+++ b/src/kconfig_compiler/kconfig_compiler.cpp
@@ -1073,7 +1073,7 @@ QString param(const QString &t)
} else if (type == "urllist") {
return "const QList<QUrl> &";
} else {
- cerr << "kconfig_compiler does not support type \"" << type << "\"" << endl;
+ cerr << "kconfig_compiler_kf5 does not support type \"" << type << "\"" << endl;
return "QString"; //For now, but an assert would be better
}
}
@@ -1127,7 +1127,7 @@ QString cppType(const QString &t)
} else if (type == "urllist") {
return "QList<QUrl>";
} else {
- cerr << "kconfig_compiler does not support type \"" << type << "\"" << endl;
+ cerr << "kconfig_compiler_kf5 does not support type \"" << type << "\"" << endl;
return "QString"; //For now, but an assert would be better
}
}
@@ -1178,7 +1178,7 @@ QString defaultValue(const QString &t)
} else if (type == "urllist") {
return "QList<QUrl>()";
} else {
- cerr << "Error, kconfig_compiler does not support the \"" << type << "\" type!" << endl;
+ cerr << "Error, kconfig_compiler_kf5 does not support the \"" << type << "\" type!" << endl;
return "QString"; //For now, but an assert would be better
}
}
@@ -1705,7 +1705,7 @@ int main(int argc, char **argv)
QTextStream h(&header);
- h << "// This file is generated by kconfig_compiler from " << QFileInfo(inputFilename).fileName() << "." << endl;
+ h << "// This file is generated by kconfig_compiler_kf5 from " << QFileInfo(inputFilename).fileName() << "." << endl;
h << "// All changes you do to this file will be lost." << endl;
h << "#ifndef " << (!cfg.nameSpace.isEmpty() ? QString(QString(cfg.nameSpace).replace("::", "_").toUpper() + '_') : "")