Change define to determine use of DBUS to USE_DBUS, to prevent overlap with Qt-defined QT_DBUS

This commit is contained in:
Wladimir J. van der Laan
2011-09-24 11:56:33 +02:00
parent 99cec89cb3
commit 010c4fc0b5
3 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
QT_BEGIN_NAMESPACE
class QSystemTrayIcon;
#ifdef QT_DBUS
#ifdef USE_DBUS
class QDBusInterface;
#endif
QT_END_NAMESPACE
@@ -52,7 +52,7 @@ private:
QString programName;
Mode mode;
QSystemTrayIcon *trayIcon;
#ifdef QT_DBUS
#ifdef USE_DBUS
QDBusInterface *interface;
void notifyDBus(Class cls, const QString &title, const QString &text, const QIcon &icon, int millisTimeout);