Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kate
kate
kate
app
katemwmodonhddialog.h
1
/*
2
This library is free software; you can redistribute it and/or
3
modify it under the terms of the GNU Library General Public
4
License version 2 as published by the Free Software Foundation.
5
6
This library is distributed in the hope that it will be useful,
7
but WITHOUT ANY WARRANTY; without even the implied warranty of
8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9
Library General Public License for more details.
10
11
You should have received a copy of the GNU Library General Public License
12
along with this library; see the file COPYING.LIB. If not, write to
13
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
14
Boston, MA 02110-1301, USA.
15
16
---
17
Copyright (C) 2004, Anders Lund <anders@alweb.dk>
18
*/
19
20
#ifndef _KATE_MW_MODONHD_DIALOG_H_
21
#define _KATE_MW_MODONHD_DIALOG_H_
22
23
#include <kdialogbase.h>
24
#include <tqptrvector.h>
25
#include <kate/document.h>
26
27
typedef
TQPtrVector<Kate::Document> DocVector;
28
class
TDEProcIO;
29
class
TDEProcess;
34
class
KateMwModOnHdDialog
:
public
KDialogBase
35
{
36
TQ_OBJECT
37
public
:
38
KateMwModOnHdDialog
( DocVector docs, TQWidget *parent=0,
const
char
*name=0 );
39
~KateMwModOnHdDialog
();
40
41
protected
slots:
42
void
slotUser1();
43
void
slotUser2();
44
void
slotUser3();
45
46
private
slots:
47
void
slotDiff();
48
void
slotSelectionChanged();
49
void
slotPRead(TDEProcIO*);
50
void
slotPDone(TDEProcess*);
51
52
private
:
53
enum
Action { Ignore, Overwrite, Reload };
54
void
handleSelected(
int
action );
55
class
TDEListView *lvDocuments;
56
class
TQPushButton *btnDiff;
57
class
KTempFile *m_tmpfile;
58
};
59
60
#endif
// _KATE_MW_MODONHD_DIALOG_H_
KateMwModOnHdDialog
A dialog for handling multiple documents modified on disk from within KateMainWindow.
Definition
katemwmodonhddialog.h:35
kate
Skip menu "kate"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
kate
Skip menu "kate"
kate
libkonq
twin
lib