summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.h
Side-by-side diff
Diffstat (limited to 'core/launcher/launcher.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.h31
1 files changed, 25 insertions, 6 deletions
diff --git a/core/launcher/launcher.h b/core/launcher/launcher.h
index c92ef5d..0616734 100644
--- a/core/launcher/launcher.h
+++ b/core/launcher/launcher.h
@@ -2,6 +2,5 @@
** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
-** This file is part of the Qtopia Environment.
-**
+** This file is part of the Qtopia Environment.**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
@@ -22,4 +21,8 @@
#include <qpe/config.h>
+#include <qpe/applnk.h>
+
+#include <opie/ofileselector.h>
+
#include <qmainwindow.h>
#include <qtabbar.h>
@@ -37,4 +40,15 @@ class StorageInfo;
class SyncDialog;
+
+class DocumentTab : public OFileSelector
+{
+ Q_OBJECT
+public:
+ DocumentTab( QWidget *parent, int mode, int selector, const QString &dirName, const QString &fileName);//, 4,0, "/","");
+~DocumentTab();
+private:
+
+};
+
class CategoryTabBar : public QTabBar
{
@@ -44,4 +58,6 @@ public:
~CategoryTabBar();
+signals:
+
protected slots:
virtual void layoutTabs();
@@ -50,4 +66,5 @@ protected:
void paint ( QPainter *p, QTab *t, bool f ) const;
void paintLabel( QPainter* p, const QRect& br, QTab* t, bool has_focus ) const;
+
};
@@ -58,6 +75,6 @@ public:
CategoryTabWidget( QWidget* parent );
void initializeCategories(AppLnkSet* rootFolder, AppLnkSet* docFolder,
- const QList<FileSystem> &);
- void updateDocs(AppLnkSet* docFolder, const QList<FileSystem> &fs);
+ const QList<FileSystem> &);
+// void updateDocs(AppLnkSet* docFolder, const QList<FileSystem> &fs);
void updateLink(const QString& linkfile);
void setBusy(bool on);
@@ -65,14 +82,16 @@ public:
LauncherView *view( const QString &id );
void setBusyIndicatorType ( const QString &type );
+ DocumentTab *fileSel;
signals:
void selected(const QString&);
void clicked(const AppLnk*);
void rightPressed(AppLnk*);
-
+ void ofileSel(const DocLnk &);
public slots:
void nextTab();
void prevTab();
void showTab(const QString&);
-
+ void clickie(const DocLnk&);
+ void clickie(const QString &);
protected slots:
void tabProperties();