Commit ebccc922 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

polish

parent 14b83399
......@@ -37,7 +37,6 @@
#include <QTextCodec>
#include <QBuffer>
// Local includes
#include "rotationmatrix.h"
......
......@@ -25,6 +25,8 @@
*
* ============================================================ */
// Local includes
#include "kexiv2.h"
#include "kexiv2_p.h"
#include "libkexiv2_debug.h"
......
......@@ -25,6 +25,8 @@
*
* ============================================================ */
// Local includes
#include "kexiv2.h"
#include "kexiv2_p.h"
#include "libkexiv2_debug.h"
......
......@@ -25,6 +25,8 @@
*
* ============================================================ */
// Local includes
#include "rotationmatrix.h"
namespace KExiv2Iface
......
......@@ -26,9 +26,6 @@
#include <QString>
#include <QFile>
// KDE includes
#include <QDebug>
// Local includes
......
......@@ -29,9 +29,6 @@
#include <QString>
#include <QFile>
#include <QByteArray>
// KDE includes
#include <QDebug>
// Local includes
......
......@@ -39,6 +39,7 @@ int main (int /*argc*/, char** /*argv*/)
qDebug() << "-- Standard Exif Tags -------------------------------------------------------------";
KExiv2::TagsMap exiftags = meta.getStdExifTagsList();
for (KExiv2::TagsMap::const_iterator it = exiftags.constBegin(); it != exiftags.constEnd(); ++it )
{
QString key = it.key();
......@@ -51,6 +52,7 @@ int main (int /*argc*/, char** /*argv*/)
qDebug() << "-- Makernote Tags -----------------------------------------------------------------";
KExiv2::TagsMap mntags = meta.getMakernoteTagsList();
for (KExiv2::TagsMap::const_iterator it = mntags.constBegin(); it != mntags.constEnd(); ++it )
{
QString key = it.key();
......@@ -63,6 +65,7 @@ int main (int /*argc*/, char** /*argv*/)
qDebug() << "-- Standard Iptc Tags -----------------------------------------------------------------";
KExiv2::TagsMap iptctags = meta.getIptcTagsList();
for (KExiv2::TagsMap::const_iterator it = iptctags.constBegin(); it != iptctags.constEnd(); ++it )
{
QString key = it.key();
......@@ -75,6 +78,7 @@ int main (int /*argc*/, char** /*argv*/)
qDebug() << "-- Standard Xmp Tags -----------------------------------------------------------------";
KExiv2::TagsMap xmptags = meta.getXmpTagsList();
for (KExiv2::TagsMap::const_iterator it = xmptags.constBegin(); it != xmptags.constEnd(); ++it )
{
QString key = it.key();
......
......@@ -26,9 +26,6 @@
#include <QString>
#include <QFile>
// KDE includes
#include <QDebug>
// Local includes
......
......@@ -28,12 +28,7 @@
#include <QImage>
#include <QString>
#include <QFile>
// KDE includes
#include "qdebug.h"
#define PRINT_DEBUG qDebug()
#define ENDL
#include <QDebug>
// Local includes
......@@ -43,10 +38,10 @@ using namespace KExiv2Iface;
int main (int argc, char **argv)
{
if(argc != 2)
if (argc != 2)
{
PRINT_DEBUG << "setiptcpreview - update/add jpeg iptc preview to image" ENDL;
PRINT_DEBUG << "Usage: <image>" ENDL;
qDebug() << "setiptcpreview - update/add jpeg iptc preview to image";
qDebug() << "Usage: <image>";
return -1;
}
......
......@@ -26,9 +26,6 @@
#include <QString>
#include <QFile>
// KDE includes
#include <QDebug>
// Local includes
......
......@@ -26,9 +26,6 @@
#include <QString>
#include <QFile>
// KDE includes
#include <QDebug>
// Local includes
......
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