1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

W7Taskabr support turned on only with W7TASKBAR define

This commit is contained in:
nowrep 2011-03-05 09:52:41 +01:00
parent fde0d1352d
commit a0d02f5179
3 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
#include "ecwin7.h"
// Windows only definitions
#ifdef Q_WS_WIN
#ifdef W7TASKBAR
DEFINE_GUID(CLSID_TaskbarList,0x56fdf344,0xfd6d,0x11d0,0x95,0x8a,0x0,0x60,0x97,0xc9,0xa0,0x90);
DEFINE_GUID(IID_ITaskbarList3,0xea1afb91,0x9e28,0x4b86,0x90,0xE9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf);

View File

@ -24,7 +24,7 @@
#include <QWidget>
// Windows only data definitions
#ifdef Q_WS_WIN
#ifdef W7TASKBAR
#include <windows.h>
#include <initguid.h>

View File

@ -62,7 +62,7 @@ public:
void show() { m_timer.start(1000*2, this); QWidget::show(); }
#ifdef Q_WS_WIN
#ifdef W7TASKBAR
protected:
virtual bool winEvent(MSG *message, long *result);
#endif
@ -72,7 +72,7 @@ private slots:
void deleteItem(DownloadItem* item);
private:
#ifdef Q_WS_WIN
#ifdef W7TASKBAR
EcWin7 win7;
#endif
void timerEvent(QTimerEvent *event);