Untie rbutil core logic from QtGui for cli:

- include QtCore instead of QtGui if possible
- replace qApp with QCoreApplication::instance(), as qApp is only defined for QtGui
- use QCoreApplication instead of QApplication for inherited static members.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16274 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-02-10 18:25:49 +00:00
parent 7b8f4a534d
commit ee09cb7f0d
18 changed files with 37 additions and 36 deletions

View file

@ -22,7 +22,7 @@
#ifndef IRIVERTOOLS_H_INCLUDED
#define IRIVERTOOLS_H_INCLUDED
#include <QtGui>
#include <QtCore>
#include "md5sum.h"
#include "progressloggerinterface.h"

View file

@ -31,7 +31,7 @@
#define uint32 unsigned long int
#endif
#include <QtGui>
#include <QtCore>
typedef struct
{