-rw-r--r-- | core/launcher/launcherview.h | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/core/launcher/launcherview.h b/core/launcher/launcherview.h index 3aaef7e..2fb37b6 100644 --- a/core/launcher/launcherview.h +++ b/core/launcher/launcherview.h @@ -1,5 +1,5 @@ /********************************************************************** -** Copyright (C) 2000 Trolltech AS. All rights reserved. +** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. ** -** This file is part of Qtopia Environment. +** This file is part of the Qtopia Environment. ** @@ -33,2 +33,3 @@ class QIconViewItem; class MenuButton; +class QComboBox; @@ -52,2 +53,16 @@ public: + QString getAllDocLinkInfo() const; + enum ViewMode { Icon, List }; + void setViewMode( ViewMode m ); + ViewMode viewMode() const { return vmode; } + + enum BackgroundType { Ruled, SolidColor, Image }; + void setBackgroundType( BackgroundType t, const QString & ); + BackgroundType backgroundType() const { return bgType; } + + void setTextColor( const QColor & ); + QColor textColor() const { return textCol; } + + void setViewFont( const QFont & ); + public slots: @@ -65,3 +80,3 @@ protected slots: void sortBy(int); - void showType(const QString&); + void showType(int); void showCategory( int ); @@ -71,2 +86,3 @@ protected: void internalPopulate( AppLnkSet *, const QString& categoryfilter ); + void paletteChange( const QPalette & ); @@ -76,4 +92,9 @@ private: LauncherIconView* icons; - MenuButton *typemb; + QComboBox *typemb; + QStringList typelist; CategorySelect *catmb; + ViewMode vmode; + BackgroundType bgType; + QString bgName; + QColor textCol; }; |