-rw-r--r-- | core/launcher/launcherview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/launcher/launcherview.h b/core/launcher/launcherview.h index 6a2d197..792c6d1 100644 --- a/core/launcher/launcherview.h +++ b/core/launcher/launcherview.h | |||
@@ -144,24 +144,25 @@ public: | |||
144 | ~LauncherThumbReceiver(); | 144 | ~LauncherThumbReceiver(); |
145 | void requestThumb(const QString&file,int width,int height); | 145 | void requestThumb(const QString&file,int width,int height); |
146 | 146 | ||
147 | public slots: | 147 | public slots: |
148 | void recieve( const QCString&, const QByteArray& ); | 148 | void recieve( const QCString&, const QByteArray& ); |
149 | protected slots: | 149 | protected slots: |
150 | virtual void sendRequest(); | 150 | virtual void sendRequest(); |
151 | 151 | ||
152 | signals: | 152 | signals: |
153 | void sig_Thumbnail(const QPixmap&,const QString&,int); | 153 | void sig_Thumbnail(const QPixmap&,const QString&,int); |
154 | 154 | ||
155 | protected: | 155 | protected: |
156 | QTimer requestTimer; | ||
156 | PixmapInfos m_inThumbNail; | 157 | PixmapInfos m_inThumbNail; |
157 | }; | 158 | }; |
158 | 159 | ||
159 | class LauncherIconView : public QIconView { | 160 | class LauncherIconView : public QIconView { |
160 | Q_OBJECT | 161 | Q_OBJECT |
161 | public: | 162 | public: |
162 | LauncherIconView( QWidget* parent, const char* name=0 ); | 163 | LauncherIconView( QWidget* parent, const char* name=0 ); |
163 | ~LauncherIconView(); | 164 | ~LauncherIconView(); |
164 | QIconViewItem* busyItem() const; | 165 | QIconViewItem* busyItem() const; |
165 | 166 | ||
166 | #ifdef USE_ANIMATED_BUSY_ICON_OVERLAY | 167 | #ifdef USE_ANIMATED_BUSY_ICON_OVERLAY |
167 | QPixmap busyPixmap() const { return busyPix; } | 168 | QPixmap busyPixmap() const { return busyPix; } |
@@ -205,24 +206,27 @@ public: | |||
205 | 206 | ||
206 | void setTypeFilter(const QString& typefilter, bool resort); | 207 | void setTypeFilter(const QString& typefilter, bool resort); |
207 | void setCategoryFilter( int catfilter, bool resort ); | 208 | void setCategoryFilter( int catfilter, bool resort ); |
208 | 209 | ||
209 | enum SortMethod { Name, Date, Type }; | 210 | enum SortMethod { Name, Date, Type }; |
210 | 211 | ||
211 | void setSortMethod( SortMethod m ); | 212 | void setSortMethod( SortMethod m ); |
212 | int compare(const AppLnk* a, const AppLnk* b); | 213 | int compare(const AppLnk* a, const AppLnk* b); |
213 | void requestEyePix(const LauncherItem*which); | 214 | void requestEyePix(const LauncherItem*which); |
214 | 215 | ||
215 | static QMap<QString,QPixmap>* sm_EyeCache; | 216 | static QMap<QString,QPixmap>* sm_EyeCache; |
216 | 217 | ||
218 | virtual void setPalette(const QPalette & palette); | ||
219 | virtual void unsetPalette(); | ||
220 | |||
217 | protected: | 221 | protected: |
218 | virtual void timerEvent( QTimerEvent *te ); | 222 | virtual void timerEvent( QTimerEvent *te ); |
219 | void styleChange( QStyle &old ); | 223 | void styleChange( QStyle &old ); |
220 | void calculateGrid( ItemTextPos pos ); | 224 | void calculateGrid( ItemTextPos pos ); |
221 | void focusInEvent( QFocusEvent * ) {} | 225 | void focusInEvent( QFocusEvent * ) {} |
222 | void focusOutEvent( QFocusEvent * ) {} | 226 | void focusOutEvent( QFocusEvent * ) {} |
223 | LauncherItem*findDocItem(const QString&); | 227 | LauncherItem*findDocItem(const QString&); |
224 | void addCheckItem(AppLnk* app); | 228 | void addCheckItem(AppLnk* app); |
225 | void checkCallback(); | 229 | void checkCallback(); |
226 | virtual void keyPressEvent(QKeyEvent* e); | 230 | virtual void keyPressEvent(QKeyEvent* e); |
227 | 231 | ||
228 | protected slots: | 232 | protected slots: |