Ignore:
Timestamp:
04/16/13 13:01:42 (2 years ago)
Author:
beanpole135 <ken@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1
Children:
eac8359
Parents:
1620346
Message:

Add the ability for the mount tray to monitor/warn the user about disks that are almost full. Also add a new dialog that will show the current disk usage for the entire system. Still need to clean up the menu a bit, and add the ability to change settings for this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-mounttray/mountTray.h

    r1620346 rbb6089a  
    1414#include "menuItem.h" 
    1515#include "devCheck.h" 
     16#include "fsWatcher.h" 
     17#include "fsDialog.h" 
    1618 
    1719extern bool DEBUG_MODE; 
    1820extern QString DEVICEDIR; 
    1921extern QString MOUNTDIR; 
    20  
    21 //class QString; 
    22 //class QPixmap; 
    2322 
    2423class MountTray : public QDialog { 
     
    4544  void openMediaDir(QString);  
    4645  void slotDisplayPopup(QString,QString); 
     46  void slotDisplayWarning(QString,QString); 
    4747  void removeDevice(QString); 
    4848  void slotRescan(); 
     49  void slotOpenFSDialog(); 
    4950   
    5051private: 
     
    5859  QList<MenuItem*> deviceList; 
    5960  QStringList oldsysdev; 
     61  FSWatcher *diskWatcher; 
     62  FSDialog *diskDisplay; 
    6063 
    6164 
Note: See TracChangeset for help on using the changeset viewer.