Ignore:
Timestamp:
Apr 18, 2013 7:56:14 AM (12 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1
Children:
aa082fc8
Parents:
92b4ba0
Message:

Get the mountTray saving/loading it's settings properly, and integrate those settings with the new Settings dlialog. You can now turn the disk space watcher off/on and set the refresh times/flags within the settings dialog.

File:
1 edited

Legend:

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

    rd386893 r891636a  
    1111#include <QList> 
    1212#include <QTimer> 
     13#include <QDir> 
     14#include <QFile> 
     15#include <QTextStream> 
    1316 
    1417#include "menuItem.h" 
     
    1619#include "fsWatcher.h" 
    1720#include "fsDialog.h" 
     21#include "settingsDialog.h" 
    1822 
    1923extern bool DEBUG_MODE; 
     
    6266  FSWatcher *diskWatcher; 
    6367  FSDialog *diskDisplay; 
     68  //Saved Settings 
     69  bool useDiskWatcher, useDiskTimerDevd; 
     70  int diskTimerMaxMS; //milliseconds 
    6471 
    6572 
     
    7178  void getInitialUsername(); 
    7279  void getDefaultFileManager(); 
     80  void loadSavedSettings(); 
     81  void saveCurrentSettings(); 
    7382   
    7483}; 
Note: See TracChangeset for help on using the changeset viewer.