Commit f7c7cbaa authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

use more strict Qt code definitions

parent ce2f2677
......@@ -19,10 +19,12 @@ add_definitions(
-DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050500
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_NO_URL_CAST_FROM_STRING
-DQT_STRICT_ITERATORS
-DQT_USE_FAST_CONCATENATION
-DQT_USE_FAST_OPERATOR_PLUS
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_URL_CAST_FROM_STRING
)
add_definitions(-DTRANSLATION_DOMAIN="svgpart")
......
......@@ -35,7 +35,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
static KAboutData createAboutData()
{
KAboutData aboutData(QStringLiteral("svgpart"), i18n("SVG Part"),
"1.0", i18n("A KPart to display SVG images"),
QStringLiteral("1.0"),
i18n("A KPart to display SVG images"),
KAboutLicense::KAboutLicense::GPL,
i18n("Copyright 2007, Aurélien Gâteau <aurelien.gateau@free.fr>"));
return aboutData;
......@@ -61,7 +62,7 @@ SvgPart::SvgPart(QWidget* parentWidget, QObject* parent, const QVariantList&)
KStandardAction::actualSize(this, SLOT(zoomActualSize()), actionCollection());
KStandardAction::zoomIn(this, SLOT(zoomIn()), actionCollection());
KStandardAction::zoomOut(this, SLOT(zoomOut()), actionCollection());
setXMLFile("svgpart.rc");
setXMLFile(QStringLiteral("svgpart.rc"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment