summaryrefslogtreecommitdiff
path: root/core/launcher/launcherview.h
Unidiff
Diffstat (limited to 'core/launcher/launcherview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.h30
1 files changed, 18 insertions, 12 deletions
diff --git a/core/launcher/launcherview.h b/core/launcher/launcherview.h
index 82a319b..7863d6a 100644
--- a/core/launcher/launcherview.h
+++ b/core/launcher/launcherview.h
@@ -22,3 +22,4 @@
22 22
23#include <qpe/storage.h> 23#include <qtopia/storage.h>
24#include <qtopia/applnk.h>
24 25
@@ -26,4 +27,2 @@
26 27
27class AppLnk;
28class AppLnkSet;
29class CategorySelect; 28class CategorySelect;
@@ -32,2 +31,4 @@ class QIconView;
32class QIconViewItem; 31class QIconViewItem;
32class QLabel;
33class QWidgetStack;
33class MenuButton; 34class MenuButton;
@@ -43,7 +44,11 @@ public:
43 44
45 void hideIcons();
46
44 bool removeLink(const QString& linkfile); 47 bool removeLink(const QString& linkfile);
45 void addItem(AppLnk* app, bool resort=TRUE); 48 void addItem(AppLnk* app, bool resort=TRUE);
49 void removeAllItems();
50 void setSortEnabled(bool);
51 void setUpdatesEnabled(bool);
46 void sort(); 52 void sort();
47 53
48 void setFileSystems(const QList<FileSystem> &);
49 void setToolsEnabled(bool); 54 void setToolsEnabled(bool);
@@ -52,4 +57,4 @@ public:
52 void setBusy(bool); 57 void setBusy(bool);
58 void setBusyIndicatorType( const QString& );
53 59
54 QString getAllDocLinkInfo() const;
55 enum ViewMode { Icon, List }; 60 enum ViewMode { Icon, List };
@@ -66,8 +71,5 @@ public:
66 void setViewFont( const QFont & ); 71 void setViewFont( const QFont & );
67 void unsetViewFont ( ); 72 void clearViewFont();
68
69 void setBusyIndicatorType ( const QString &type );
70 73
71public slots: 74 void relayout(void);
72 void populate( AppLnkSet *folder, const QString& categoryfilter );
73 75
@@ -86,7 +88,9 @@ protected slots:
86 void resizeEvent(QResizeEvent *); 88 void resizeEvent(QResizeEvent *);
89 void flushBgCache();
87 90
88protected: 91protected:
89 void internalPopulate( AppLnkSet *, const QString& categoryfilter );
90 void paletteChange( const QPalette & ); 92 void paletteChange( const QPalette & );
91 93
94 void fontChanged(const QFont &);
95
92private: 96private:
@@ -102,3 +106,5 @@ private:
102 QColor textCol; 106 QColor textCol;
103 int busyType; 107
108 QImage loadBackgroundImage(QString &fname);
109 int m_busyType;
104}; 110};