-rw-r--r-- | core/launcher/launcherview.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/launcher/launcherview.h b/core/launcher/launcherview.h index 6d94539..05073ab 100644 --- a/core/launcher/launcherview.h +++ b/core/launcher/launcherview.h | |||
@@ -53,12 +53,14 @@ public: | |||
53 | ~LauncherView(); | 53 | ~LauncherView(); |
54 | 54 | ||
55 | void hideIcons(); | 55 | void hideIcons(); |
56 | 56 | ||
57 | bool removeLink(const QString& linkfile); | 57 | bool removeLink(const QString& linkfile); |
58 | void addItem(AppLnk* app, bool resort=TRUE); | 58 | void addItem(AppLnk* app, bool resort=TRUE); |
59 | void changeItem(const AppLnk&old,AppLnk*nlink); | ||
60 | |||
59 | void removeAllItems(); | 61 | void removeAllItems(); |
60 | void setSortEnabled(bool); | 62 | void setSortEnabled(bool); |
61 | void setUpdatesEnabled(bool); | 63 | void setUpdatesEnabled(bool); |
62 | void sort(); | 64 | void sort(); |
63 | 65 | ||
64 | void setToolsEnabled(bool); | 66 | void setToolsEnabled(bool); |
@@ -173,13 +175,14 @@ public: | |||
173 | } | 175 | } |
174 | 176 | ||
175 | void setBusy(bool on); | 177 | void setBusy(bool on); |
176 | bool inKeyEvent() const { return ike; } | 178 | bool inKeyEvent() const { return ike; } |
177 | 179 | ||
178 | void addItem(AppLnk* app, bool resort=TRUE); | 180 | void addItem(AppLnk* app, bool resort=TRUE); |
179 | bool removeLink(const QString& linkfile); | 181 | bool removeLink(const QString& linkfile,bool removeCache = true); |
182 | void changeItem(const AppLnk&old,AppLnk*nlink); | ||
180 | 183 | ||
181 | QStringList mimeTypes() const; | 184 | QStringList mimeTypes() const; |
182 | QStringList categories() const; | 185 | QStringList categories() const; |
183 | void clear(); | 186 | void clear(); |
184 | void addCatsAndMimes(AppLnk* app); | 187 | void addCatsAndMimes(AppLnk* app); |
185 | 188 | ||
@@ -203,12 +206,14 @@ public: | |||
203 | enum SortMethod { Name, Date, Type }; | 206 | enum SortMethod { Name, Date, Type }; |
204 | 207 | ||
205 | void setSortMethod( SortMethod m ); | 208 | void setSortMethod( SortMethod m ); |
206 | int compare(const AppLnk* a, const AppLnk* b); | 209 | int compare(const AppLnk* a, const AppLnk* b); |
207 | void requestEyePix(const LauncherItem*which); | 210 | void requestEyePix(const LauncherItem*which); |
208 | 211 | ||
212 | static QMap<QString,QPixmap>* sm_EyeCache; | ||
213 | |||
209 | protected: | 214 | protected: |
210 | virtual void timerEvent( QTimerEvent *te ); | 215 | virtual void timerEvent( QTimerEvent *te ); |
211 | void styleChange( QStyle &old ); | 216 | void styleChange( QStyle &old ); |
212 | void calculateGrid( ItemTextPos pos ); | 217 | void calculateGrid( ItemTextPos pos ); |
213 | void focusInEvent( QFocusEvent * ) {} | 218 | void focusInEvent( QFocusEvent * ) {} |
214 | void focusOutEvent( QFocusEvent * ) {} | 219 | void focusOutEvent( QFocusEvent * ) {} |