diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-05-08 16:56:25 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-05-08 16:56:25 -0500 |
commit | c4050cef6c09c1aaf37aec25784f6120ab5f4470 (patch) | |
tree | 475cc9034d9fe73a807f0a35255364e662a62f49 /kioslave/media/kcmodule/managermodule.h | |
parent | 8ecd10805a655acc958f241942b00826f71454cc (diff) | |
download | tdebase-c4050cef6c09c1aaf37aec25784f6120ab5f4470.tar.gz tdebase-c4050cef6c09c1aaf37aec25784f6120ab5f4470.zip |
Add KControl (Peripherals/Storage Media/Advanced) controls to set
default mount options.
Thanks to Francois Andriot.
This partially resolves bug report 986.
Diffstat (limited to 'kioslave/media/kcmodule/managermodule.h')
-rw-r--r-- | kioslave/media/kcmodule/managermodule.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kioslave/media/kcmodule/managermodule.h b/kioslave/media/kcmodule/managermodule.h index 0b62dfc5e..e34610c7e 100644 --- a/kioslave/media/kcmodule/managermodule.h +++ b/kioslave/media/kcmodule/managermodule.h @@ -1,5 +1,6 @@ /* This file is part of the KDE Project Copyright (c) 2005 Kévin Ottens <ervin ipsquad net> + Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -19,8 +20,11 @@ #ifndef _MANAGERMODULE_H_ #define _MANAGERMODULE_H_ +#include <tqmap.h> #include <kcmodule.h> +class ManagerModuleView; + class ManagerModule : public KCModule { Q_OBJECT @@ -28,7 +32,18 @@ class ManagerModule : public KCModule public: ManagerModule( TQWidget* parent = 0, const char* name = 0); + void load(); void save(); + void defaults(); + +private: + void rememberSettings(); + + ManagerModuleView *view; + TQMap<TQObject *, int> settings; + +private slots: + void emitChanged(); }; #endif |