• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kresources
 

kresources

  • kresources
configdialog.h
1 /*
2  This file is part of libkresources.
3  Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
4  Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef KRESOURCES_CONFIGDIALOG_H
23 #define KRESOURCES_CONFIGDIALOG_H
24 
25 #include <kdialogbase.h>
26 
27 class KLineEdit;
28 class TQCheckBox;
29 class KButtonBox;
30 
31 namespace KRES {
32  class Resource;
33  class ConfigWidget;
34 
35 class KRESOURCES_EXPORT ConfigDialog : public KDialogBase
36 {
37  Q_OBJECT
38  public:
39  // Resource=0: create new resource
40  ConfigDialog( TQWidget *parent, const TQString& resourceFamily,
41  Resource* resource, const char *name = 0);
42 
43  void setInEditMode( bool value );
44 
45  protected slots:
46  void accept();
47  void setReadOnly( bool value );
48  void slotNameChanged( const TQString &text);
49 
50  private:
51  ConfigWidget *mConfigWidget;
52  Resource* mResource;
53 
54  KLineEdit *mName;
55  TQCheckBox *mReadOnly;
56 };
57 
58 }
59 
60 #endif

kresources

Skip menu "kresources"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kresources

Skip menu "kresources"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kresources by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |