~ubuntu-branches/ubuntu/natty/kdenetwork/natty-proposed

« back to all changes in this revision

Viewing changes to filesharing/advanced/kcm_sambaconf/filemodedlgimpl.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-02-21 14:26:58 UTC
  • Revision ID: package-import@ubuntu.com-20110221142658-mzt9flk82tzdunxj
Tags: 4:4.6.0-0ubuntu4
Update kubuntu_05_samba_sharing.diff to match master

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          filemodedlgimpl.cpp  -  description
3
 
                             -------------------
4
 
    begin                : Thu Jul 18 2002
5
 
    copyright            : (C) 2002 by Jan Schäfer
6
 
    email                : janschaefer@users.sourceforge.net
7
 
 ***************************************************************************/
8
 
 
9
 
/******************************************************************************
10
 
 *                                                                            *
11
 
 *  This file is part of KSambaPlugin.                                        *
12
 
 *                                                                            *
13
 
 *  KSambaPlugin is free software; you can redistribute it and/or modify      *
14
 
 *  it under the terms of the GNU General Public License as published by      *
15
 
 *  the Free Software Foundation; either version 2 of the License, or         *
16
 
 *  (at your option) any later version.                                       *
17
 
 *                                                                            *
18
 
 *  KSambaPlugin is distributed in the hope that it will be useful,           *
19
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of            *
20
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *
21
 
 *  GNU General Public License for more details.                              *
22
 
 *                                                                            *
23
 
 *  You should have received a copy of the GNU General Public License         *
24
 
 *  along with KSambaPlugin; if not, write to the Free Software                     *
25
 
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA  *
26
 
 *                                                                            *
27
 
 ******************************************************************************/
28
 
 
29
 
#ifndef FILEMODEDLGIMPL_H
30
 
#define FILEMODEDLGIMPL_H
31
 
 
32
 
/**
33
 
  *@author Jan Schäfer
34
 
  */
35
 
 
36
 
#include "filemodedlg.h"
37
 
 
38
 
class QLineEdit;
39
 
 
40
 
/**
41
 
 * Small dialog to change the UNIX access rights
42
 
 * It is called with a QLineEdit as parameter.
43
 
 * The class then takes the text from the QLineEdit and
44
 
 * interprets it as an oktal UNIX access right string
45
 
 * e.g. 0744
46
 
 * After the user has changed the access rights with the dialog
47
 
 * the class sets the new access rights as a new octal string
48
 
 * of the QLineEdit
49
 
 * Implements the filemodedlg.ui interface
50
 
 **/  
51
 
class FileModeDlgImpl : public FileModeDlg
52
 
{
53
 
Q_OBJECT
54
 
public: 
55
 
        FileModeDlgImpl(QWidget* parent, QLineEdit* edit);
56
 
        ~FileModeDlgImpl();
57
 
protected:
58
 
  QLineEdit* _edit;
59
 
  void init();
60
 
protected slots:
61
 
  virtual void accept();  
62
 
};
63
 
 
64
 
#endif