Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
KDevelop Widgets Library
KDevelop Widgets Library
lib
widgets
ksavealldialog.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
Copyright (C) 2002 Harald Fernengel <harry@kdevelop.org>
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
13
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
18
*/
19
20
#ifndef SAVEALLDIALOG_H
21
#define SAVEALLDIALOG_H
22
23
#include <tqstringlist.h>
24
#include <kdialogbase.h>
25
#include <kurl.h>
26
27
class
TDEListView;
32
36
class
KSaveSelectDialog :
public
KDialogBase
37
{
38
TQ_OBJECT
39
40
41
public
:
42
KSaveSelectDialog( KURL::List
const
& filelist, KURL::List
const
& ignorelist, TQWidget * parent );
43
virtual
~KSaveSelectDialog();
44
45
KURL::List filesToSave();
46
KURL::List filesNotToSave();
47
48
private
slots:
49
void
saveNone();
50
void
save();
51
void
cancel();
52
53
private
:
54
TDEListView * _listview;
55
56
};
57
58
62
class
KSaveAllDialog :
public
KDialogBase
63
{
64
TQ_OBJECT
65
66
67
public
:
68
enum
SaveAllResult{ SaveAll, Cancel, Revert };
69
70
KSaveAllDialog(
const
TQStringList& filenames, TQWidget* parent );
71
virtual
~KSaveAllDialog();
72
73
SaveAllResult result()
const
{
return
m_result; }
74
75
private
slots:
76
void
revert();
77
void
saveAll();
78
void
cancel();
79
80
private
:
81
SaveAllResult m_result;
82
83
};
84
85
#endif
KDevelop Widgets Library
Skip menu "KDevelop Widgets Library"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
KDevelop Widgets Library
Skip menu "KDevelop Widgets Library"
buildtools
lib
base
parsers
autotools
qmake
widgets
api
languages
lib
debugger
designer_integration
interfaces
lib
catalog
interfaces
extensions
external
extras
util
widgets
propeditor
parts
documentation
interfaces
src
profileengine
lib