mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
W7Taskabr support turned on only with W7TASKBAR define
This commit is contained in:
parent
fde0d1352d
commit
a0d02f5179
2
src/3rdparty/ecwin7.cpp
vendored
2
src/3rdparty/ecwin7.cpp
vendored
|
@ -20,7 +20,7 @@
|
||||||
#include "ecwin7.h"
|
#include "ecwin7.h"
|
||||||
|
|
||||||
// Windows only definitions
|
// 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(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);
|
DEFINE_GUID(IID_ITaskbarList3,0xea1afb91,0x9e28,0x4b86,0x90,0xE9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf);
|
||||||
|
|
||||||
|
|
2
src/3rdparty/ecwin7.h
vendored
2
src/3rdparty/ecwin7.h
vendored
|
@ -24,7 +24,7 @@
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
// Windows only data definitions
|
// Windows only data definitions
|
||||||
#ifdef Q_WS_WIN
|
#ifdef W7TASKBAR
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <initguid.h>
|
#include <initguid.h>
|
||||||
|
|
|
@ -62,7 +62,7 @@ public:
|
||||||
|
|
||||||
void show() { m_timer.start(1000*2, this); QWidget::show(); }
|
void show() { m_timer.start(1000*2, this); QWidget::show(); }
|
||||||
|
|
||||||
#ifdef Q_WS_WIN
|
#ifdef W7TASKBAR
|
||||||
protected:
|
protected:
|
||||||
virtual bool winEvent(MSG *message, long *result);
|
virtual bool winEvent(MSG *message, long *result);
|
||||||
#endif
|
#endif
|
||||||
|
@ -72,7 +72,7 @@ private slots:
|
||||||
void deleteItem(DownloadItem* item);
|
void deleteItem(DownloadItem* item);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
#ifdef Q_WS_WIN
|
#ifdef W7TASKBAR
|
||||||
EcWin7 win7;
|
EcWin7 win7;
|
||||||
#endif
|
#endif
|
||||||
void timerEvent(QTimerEvent *event);
|
void timerEvent(QTimerEvent *event);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user