summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.h
Unidiff
Diffstat (limited to 'core/launcher/launcher.h') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcher.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/core/launcher/launcher.h b/core/launcher/launcher.h
index d2efa58..e3881ea 100644
--- a/core/launcher/launcher.h
+++ b/core/launcher/launcher.h
@@ -1,10 +1,10 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
@@ -17,12 +17,13 @@
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef LAUNCHER_H 20#ifndef LAUNCHER_H
21#define LAUNCHER_H 21#define LAUNCHER_H
22 22
23#include <qpe/config.h>
23#include <qmainwindow.h> 24#include <qmainwindow.h>
24#include <qtabbar.h> 25#include <qtabbar.h>
25#include <qstringlist.h> 26#include <qstringlist.h>
26#include <qvbox.h> 27#include <qvbox.h>
27#include <qlist.h> 28#include <qlist.h>
28#include <qpe/palmtopuidgen.h> 29#include <qpe/palmtopuidgen.h>
@@ -57,23 +58,29 @@ public:
57 CategoryTabWidget( QWidget* parent ); 58 CategoryTabWidget( QWidget* parent );
58 void initializeCategories(AppLnkSet* rootFolder, AppLnkSet* docFolder, 59 void initializeCategories(AppLnkSet* rootFolder, AppLnkSet* docFolder,
59 const QList<FileSystem> &); 60 const QList<FileSystem> &);
60 void updateDocs(AppLnkSet* docFolder, const QList<FileSystem> &fs); 61 void updateDocs(AppLnkSet* docFolder, const QList<FileSystem> &fs);
61 void updateLink(const QString& linkfile); 62 void updateLink(const QString& linkfile);
62 void setBusy(bool on); 63 void setBusy(bool on);
64 QString getAllDocLinkInfo() const;
65 LauncherView *view( const QString &id );
63 66
64signals: 67signals:
65 void selected(const QString&); 68 void selected(const QString&);
66 void clicked(const AppLnk*); 69 void clicked(const AppLnk*);
67 void rightPressed(AppLnk*); 70 void rightPressed(AppLnk*);
68 71
69public slots: 72public slots:
70 void nextTab(); 73 void nextTab();
71 void prevTab(); 74 void prevTab();
72 75
76protected slots:
77 void tabProperties();
78
73protected: 79protected:
80 void setTabAppearance( const QString &id, Config &cfg );
74 void paletteChange( const QPalette &p ); 81 void paletteChange( const QPalette &p );
75 82
76private: 83private:
77 CategoryTabBar* categoryBar; 84 CategoryTabBar* categoryBar;
78 QWidgetStack* stack; 85 QWidgetStack* stack;
79 LauncherView* docview; 86 LauncherView* docview;
@@ -108,12 +115,13 @@ signals:
108 void busy(); 115 void busy();
109 void notBusy(const QString&); 116 void notBusy(const QString&);
110 117
111private slots: 118private slots:
112 void doMaximize(); 119 void doMaximize();
113 void systemMessage( const QCString &, const QByteArray &); 120 void systemMessage( const QCString &, const QByteArray &);
121 void launcherMessage( const QCString &, const QByteArray &);
114 void storageChanged(); 122 void storageChanged();
115 void cancelSync(); 123 void cancelSync();
116 124
117private: 125private:
118 void updateApps(); 126 void updateApps();
119 void loadDocs(); 127 void loadDocs();
@@ -129,12 +137,13 @@ private:
129 SyncDialog *syncDialog; 137 SyncDialog *syncDialog;
130 138
131 void updateLink(const QString& link); 139 void updateLink(const QString& link);
132 bool in_lnk_props; 140 bool in_lnk_props;
133 bool got_lnk_change; 141 bool got_lnk_change;
134 QString lnk_change; 142 QString lnk_change;
143
135 QString m_timeStamp; 144 QString m_timeStamp;
136 Qtopia::UidGen uidgen; 145 Qtopia::UidGen uidgen;
137}; 146};
138 147
139#endif // LAUNCHERVIEW_H 148#endif // LAUNCHERVIEW_H
140 149