From a8758221fe23701e61cd42fe745a1868a1f1afca Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 16 Dec 2007 23:36:12 +0000 Subject: [PATCH] Return the current configuration for gfx and text antialias. For now they are always true, as no GUI can be added due to feature+string freeze. svn path=/trunk/KDE/kdegraphics/okular/; revision=749280 --- core/document.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/document.cpp b/core/document.cpp index 265d5eb10..ae84ad111 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -1015,6 +1015,17 @@ QVariant DocumentPrivate::documentMetaData( const QString &key, const QVariant & { return Settings::zoomFactor(); } + else if ( key == QLatin1String( "TextAntialias" ) ) + { + // TODO: add a configuration + // TODO: eventually read the KDE configuration + return true; + } + else if ( key == QLatin1String( "GraphicsAntialias" ) ) + { + // TODO: add a configuration + return true; + } return QVariant(); }