changeset 4:7ef0a8f6b376

Reduced header bloat. ti: -
author John Schneiderman <JohnMS@CodeGNU.com>
date Sat, 14 Jun 2014 15:10:10 +0000
parents fad9b512bb46
children d051e4094072
files src/qargs.cpp src/qargs.h
diffstat 2 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/qargs.cpp	Sat Jun 14 15:04:44 2014 +0000
+++ b/src/qargs.cpp	Sat Jun 14 15:10:10 2014 +0000
@@ -23,9 +23,10 @@
 #include <QChar>
 #include <QString>
 #include <QCoreApplication>
-#include <QMap>
 #include <QFileInfo>
 #include <QStringBuilder>
+#include <QDebug>
+#include <QList>
 
 #include <iostream>
 using std::cout;
--- a/src/qargs.h	Sat Jun 14 15:04:44 2014 +0000
+++ b/src/qargs.h	Sat Jun 14 15:10:10 2014 +0000
@@ -27,16 +27,13 @@
  */
 
 #include <QObject>
-#include <QList>
-#include <QtDebug>
 #include <QStringList>
+#include <QMap>
 
 #include "qargs_global.h"
 
 class QChar;
 class QString;
-template < class KeyType, class ValueType >
-class QMap;
 
 
 /**
@@ -783,8 +780,6 @@
 QList< Expected > QArgs::values(const QChar& shortName,
 						  const Expected& defaultValue) const
 {
-    qDebug() << "QArgs::values(const QChar&, const Expected&)" << shortName
-		   << defaultValue;
     QList< Expected > values;
     int shortIndex(shortNameIndex(shortName)), index,
 		  longIndex(longNameIndex(shortName));