Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

tabmanager.h

Go to the documentation of this file.
00001 #ifndef TABMANAGER_H
00002 #define TABMANAGER_H
00003 
00004 #include "tabmanagerbase.h"
00005 #include <qmap.h>
00006 #include <qevent.h> 
00007 
00008 class QListViewItem;
00009 class AppEdit;
00010 
00011 class TabManager : public TabManagerBase { 
00012   Q_OBJECT
00013 
00014 public:
00015   TabManager( QWidget* parent = 0, const char* name = 0);
00016   ~TabManager();
00017   bool changed;
00018   
00019 public slots:
00020   void newFolder();
00021   void newApplication();
00022   void removeItem();
00023   void editCurrentItem();
00024 
00025 private slots:
00026   void moveApplication(QListViewItem *, QListViewItem *);
00027   void editItem(QListViewItem * item);
00028 
00029 protected:
00030   void rescanFolder(QString directory,  QListViewItem* parent=NULL);
00031   QMap<QListViewItem *, QString> itemList;
00032   bool findInstalledApplication(QString desktopFile, QString &installedAppFile);     
00033   void swapInstalledLocation( QString installedAppFile, QString desktopFile, QString newLocation );
00034 
00035 private:
00036   AppEdit *application;
00037   
00038 };
00039 
00040 #endif
00041 
00042 // tabmanager.h
00043 

Generated on Sat Nov 5 16:18:18 2005 for OPIE by  doxygen 1.4.2