summaryrefslogtreecommitdiff
path: root/core/launcher/launcherview.h
authorzecke <zecke>2003-08-28 14:37:27 (UTC)
committer zecke <zecke>2003-08-28 14:37:27 (UTC)
commit245dcac2f79d7409f80da37f9c6c47fff70dc949 (patch) (unidiff)
treeaa5401e3cea0453da32f6062dba6ac454a3457ae /core/launcher/launcherview.h
parentf837944e9a404c46efc00e4d5851ea13dbb88ef2 (diff)
downloadopie-245dcac2f79d7409f80da37f9c6c47fff70dc949.zip
opie-245dcac2f79d7409f80da37f9c6c47fff70dc949.tar.gz
opie-245dcac2f79d7409f80da37f9c6c47fff70dc949.tar.bz2
-Make it compile
-apply Opie patches -prepare BusyIndicator changes -add QCOP method for showing the desktop and going to the next tab
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
@@ -21,14 +21,15 @@
21#define LAUNCHERVIEW_H 21#define LAUNCHERVIEW_H
22 22
23#include <qpe/storage.h> 23#include <qtopia/storage.h>
24#include <qtopia/applnk.h>
24 25
25#include <qvbox.h> 26#include <qvbox.h>
26 27
27class AppLnk;
28class AppLnkSet;
29class CategorySelect; 28class CategorySelect;
30class LauncherIconView; 29class LauncherIconView;
31class QIconView; 30class QIconView;
32class QIconViewItem; 31class QIconViewItem;
32class QLabel;
33class QWidgetStack;
33class MenuButton; 34class MenuButton;
34class QComboBox; 35class QComboBox;
@@ -42,15 +43,19 @@ public:
42 ~LauncherView(); 43 ~LauncherView();
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);
50 void updateTools(); 55 void updateTools();
51 56
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 };
56 void setViewMode( ViewMode m ); 61 void setViewMode( ViewMode m );
@@ -65,10 +70,7 @@ public:
65 70
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
74signals: 76signals:
@@ -85,9 +87,11 @@ protected slots:
85 void showCategory( int ); 87 void showCategory( int );
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:
93 static bool bsy; 97 static bool bsy;
@@ -101,5 +105,7 @@ private:
101 QString bgName; 105 QString bgName;
102 QColor textCol; 106 QColor textCol;
103 int busyType; 107
108 QImage loadBackgroundImage(QString &fname);
109 int m_busyType;
104}; 110};
105 111