Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / settings / kio / smbrodlg.h
blob3ca3faada3d42901cd563c225bcb6a4be50ce2a3
1 /* This file is part of the KDE project
3 Copyright (C) 2000, 2005 Alexander Neundorf <neundorf@kde.org>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef __SMBRODLG_H
22 #define __SMBRODLG_H
24 #include <QtGui/QWidget>
25 #include <QtGui/QLineEdit>
26 #include <QtGui/QCheckBox>
28 #include <kcmodule.h>
29 #include <kcomponentdata.h>
31 class KComboBox;
33 class SMBRoOptions : public KCModule
35 Q_OBJECT
36 public:
37 SMBRoOptions(QWidget *parent, const QVariantList &args, const KComponentData &componentData = KComponentData());
38 ~SMBRoOptions();
40 virtual void load();
41 virtual void save();
42 virtual void defaults();
43 QString quickHelp() const;
45 private Q_SLOTS:
46 void changed();
48 private:
49 QLineEdit *m_userLe;
50 QLineEdit *m_passwordLe;
51 // QLineEdit *m_workgroupLe; //currently unused, Alex
52 // QCheckBox *m_showHiddenShares; //currently unused, Alex
53 // KComboBox *m_encodingList; //currently unused
56 #endif