Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tderesources
tderesources
tderesources
selectdialog.h
1
/*
2
This file is part of libtderesources.
3
4
Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
5
Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
6
Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
7
8
This library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Library General Public
10
License as published by the Free Software Foundation; either
11
version 2 of the License, or (at your option) any later version.
12
13
This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Library General Public License for more details.
17
18
You should have received a copy of the GNU Library General Public License
19
along with this library; see the file COPYING.LIB. If not, write to
20
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
Boston, MA 02110-1301, USA.
22
*/
23
24
#ifndef TDERESOURCES_SELECTDIALOG_H
25
#define TDERESOURCES_SELECTDIALOG_H
26
27
#include <tqobject.h>
28
#include <tqptrlist.h>
29
#include <tqmap.h>
30
31
#include <kdialog.h>
32
33
class
TDEListBox;
34
35
namespace
KRES {
36
37
class
Resource;
38
56
class
TDERESOURCES_EXPORT
SelectDialog
: KDialog
57
{
58
public
:
65
SelectDialog
(
TQPtrList<Resource>
list
, TQWidget *
parent
= 0,
66
const
char
*
name
= 0);
67
71
Resource
*resource();
72
77
static
Resource
*getResource(
TQPtrList<Resource>
list
, TQWidget *
parent
= 0 );
78
79
private
:
80
TDEListBox
*mResourceId;
81
82
TQMap<int, Resource*>
mResourceMap;
83
};
84
85
}
86
87
#endif
KRES::Manager
This class provides a manager for resources of a specified family.
Definition
manager.h:80
KRES::Resource
This class provides a resource which is managed in a general way.
Definition
resource.h:256
KRES::SelectDialog
Dialog for selecting a resource.
Definition
selectdialog.h:57
tderesources
Skip menu "tderesources"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
tderesources
Skip menu "tderesources"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdefile
tdeio
tdeioexec
tdeioslave
http
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet