summaryrefslogtreecommitdiffstats
path: root/kioslave/media/kcmodule/managermodule.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-08 16:56:25 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:27:25 +0200
commit14e12596356df574c2529111676bfde54915f529 (patch)
tree59ea21a0177e518a09fad082bd977692bdac1ee5 /kioslave/media/kcmodule/managermodule.h
parent90130c99a48800dcef5a5508b99198633452b86c (diff)
downloadtdebase-14e12596356df574c2529111676bfde54915f529.tar.gz
tdebase-14e12596356df574c2529111676bfde54915f529.zip
Add KControl (Peripherals/Storage Media/Advanced) controls to set
default mount options. Thanks to Francois Andriot. This partially resolves bug report 986. (cherry picked from commit c4050cef6c09c1aaf37aec25784f6120ab5f4470)
Diffstat (limited to 'kioslave/media/kcmodule/managermodule.h')
-rw-r--r--kioslave/media/kcmodule/managermodule.h15
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