Diffstat (limited to 'core/launcher/launcherview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/launcherview.h | 30 |
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 @@ #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; @@ -42,15 +43,19 @@ public: ~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 ); @@ -65,10 +70,7 @@ public: 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: @@ -85,9 +87,11 @@ protected slots: 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; @@ -101,5 +105,7 @@ private: QString bgName; QColor textCol; - int busyType; + + QImage loadBackgroundImage(QString &fname); + int m_busyType; }; |