summaryrefslogtreecommitdiffstats
path: root/src/part/settingsDialog.h
blob: e929a8d2c2516e4824e96060ab5252e58d06f0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//Author:    Max Howell <[email protected]>, (C) 2003-4
//Copyright: See COPYING file that comes with this distribution

#ifndef SETTINGSDLG_H
#define SETTINGSDLG_H

#include "dialog.h" //generated by uic
#include <tqtimer.h>


class SettingsDialog : public Dialog
{
  Q_OBJECT
  

public:
  SettingsDialog( TQWidget* =0, const char* =0 );

protected:
  virtual void closeEvent( TQCloseEvent * );
  virtual void reject();

public slots:
  void addDirectory();
  void removeDirectory();
  void toggleScanAcrossMounts( bool );
  void toggleDontScanRemoteMounts( bool );
  void toggleDontScanRemovableMedia( bool );
  void reset();
  void startTimer();
  void toggleUseAntialiasing( bool = true );
  void toggleVaryLabelFontSizes( bool );
  void changeContrast( int );
  void changeScheme( int );
  void changeMinFontPitch( int );
  void toggleShowSmallFiles( bool );
  void slotSliderReleased();

signals:
  void mapIsInvalid();
  void canvasIsDirty( int );

private:
  TQTimer m_timer;

  static const uint TIMEOUT=1000;
};

#endif