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) (side-by-side diff)
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
@@ -20,16 +20,17 @@
#ifndef LAUNCHERVIEW_H
#define LAUNCHERVIEW_H
-#include <qpe/storage.h>
+#include <qtopia/storage.h>
+#include <qtopia/applnk.h>
#include <qvbox.h>
-class AppLnk;
-class AppLnkSet;
class CategorySelect;
class LauncherIconView;
class QIconView;
class QIconViewItem;
+class QLabel;
+class QWidgetStack;
class MenuButton;
class QComboBox;
@@ -41,17 +42,21 @@ public:
LauncherView( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~LauncherView();
+ void hideIcons();
+
bool removeLink(const QString& linkfile);
void addItem(AppLnk* app, bool resort=TRUE);
+ void removeAllItems();
+ void setSortEnabled(bool);
+ void setUpdatesEnabled(bool);
void sort();
- void setFileSystems(const QList<FileSystem> &);
void setToolsEnabled(bool);
void updateTools();
void setBusy(bool);
+ void setBusyIndicatorType( const QString& );
- QString getAllDocLinkInfo() const;
enum ViewMode { Icon, List };
void setViewMode( ViewMode m );
ViewMode viewMode() const { return vmode; }
@@ -64,12 +69,9 @@ public:
QColor textColor() const { return textCol; }
void setViewFont( const QFont & );
- void unsetViewFont ( );
-
- void setBusyIndicatorType ( const QString &type );
+ void clearViewFont();
-public slots:
- void populate( AppLnkSet *folder, const QString& categoryfilter );
+ void relayout(void);
signals:
void clicked( const AppLnk * );
@@ -84,11 +86,13 @@ protected slots:
void showType(int);
void showCategory( int );
void resizeEvent(QResizeEvent *);
+ void flushBgCache();
protected:
- void internalPopulate( AppLnkSet *, const QString& categoryfilter );
void paletteChange( const QPalette & );
+ void fontChanged(const QFont &);
+
private:
static bool bsy;
QWidget* tools;
@@ -100,7 +104,9 @@ private:
BackgroundType bgType;
QString bgName;
QColor textCol;
- int busyType;
+
+ QImage loadBackgroundImage(QString &fname);
+ int m_busyType;
};
#endif // LAUNCHERVIEW_H