From 0ab338256011c6b29494f9f69a2fba2afc147e16 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 11 May 2010 20:07:47 +0000 Subject: Honor Free Desktop tray icon resize requests git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knutclient@1125602 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/knutdock.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/knutdock.h') diff --git a/src/knutdock.h b/src/knutdock.h index 15fa69c..7a798bd 100755 --- a/src/knutdock.h +++ b/src/knutdock.h @@ -1,7 +1,7 @@ /*************************************************************************** knutdock.h - description ------------------- - begin : Út zari 23 2003 + begin : �t zari 23 2003 copyright : (C) 2003 by Daniel Prynych email : Daniel.Prynych@alo.cz ***************************************************************************/ @@ -164,7 +164,7 @@ class KNutDock : public KSystemTray { signals: /**This signal is emited when end of application was selected in menu. * Tento signal je vyslan pokud bylo vybrano v menu ukonceni aplikace. - * + * * * @since 0.1 **/ @@ -173,7 +173,7 @@ class KNutDock : public KSystemTray { /** * Tento signal je vyslan pokud bylo vybrano v menu minimalizace aplikace. * Tento signal is emited when minimize application was selected in menu. - * + * * * @since 0.1 **/ @@ -372,7 +372,7 @@ class KNutDock : public KSystemTray { * * @since 0.2 **/ - void paintNumbers (int numbers, int x, int y, QPainter* p ); //x,y levy horni roh cisla 1 + void paintNumbers (int numbers, int x, int y, QPainter* p, float sizeMult ); //x,y levy horni roh cisla 1 /** * @internal @@ -385,7 +385,7 @@ class KNutDock : public KSystemTray { * * @since 0.1 **/ - void paintNumber (int x, int y, int number, QPainter *p); + void paintNumber (int x, int y, int number, QPainter *p, float sizeMult); /** * @internal @@ -410,7 +410,7 @@ class KNutDock : public KSystemTray { * * @since 0.1 **/ - void paintDash (int x, int y, QPainter *p); + void paintDash (int x, int y, QPainter *p, float sizeMult); /** @@ -481,6 +481,8 @@ class KNutDock : public KSystemTray { **/ void clearValues(void); + void resizeEvent ( QResizeEvent * ); + KNutUpsData* m_upsRecords; KNutVarData::SettingDataDef* m_settingData; // v teto strukture jsou ulozeny promene ktere nastavuji konfiguraci -- cgit v1.2.1