Mercurial > hg > easyhg-kdiff3
comparison kdiff3/kdiff3plugin-QT4/kdiff3plugin.h @ 81:5d7e91c44e6d
New files.
author | joachim99 |
---|---|
date | Tue, 06 Jan 2009 18:01:57 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
80:fcd146072e0c | 81:5d7e91c44e6d |
---|---|
1 /* This file is part of the KDiff3 project | |
2 | |
3 Copyright (C) 2008 Joachim Eibl <Joachim dot Eibl at gmx dot de> | |
4 | |
5 This program is free software; you can redistribute it and/or | |
6 modify it under the terms of the GNU General Public | |
7 License as published by the Free Software Foundation; version 2 | |
8 of the License. | |
9 | |
10 This program is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 General Public License for more details. | |
14 | |
15 You should have received a copy of the GNU General Public License | |
16 along with this program; see the file COPYING. If not, write to | |
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
18 Boston, MA 02111-1307, USA. | |
19 */ | |
20 | |
21 #ifndef _KDIFF3PLUGIN_H_ | |
22 #define _KDIFF3PLUGIN_H_ | |
23 | |
24 #include <konq_popupmenu.h> | |
25 #include <konq_popupmenuplugin.h> | |
26 #include <QStringList> | |
27 | |
28 class QStringList; | |
29 | |
30 class KDiff3Plugin : public KonqPopupMenuPlugin | |
31 { | |
32 Q_OBJECT | |
33 public: | |
34 KDiff3Plugin (KonqPopupMenu *, const QStringList & list); | |
35 virtual ~KDiff3Plugin(); | |
36 // implement pure virtual method from KonqPopupMenuPlugin | |
37 virtual void setup( KActionCollection* actionCollection, const KonqPopupMenuInformation& popupMenuInfo, QMenu* menu ); | |
38 | |
39 private slots: | |
40 void slotCompareWith(); | |
41 void slotCompareTwoFiles(); | |
42 void slotCompareThreeFiles(); | |
43 void slotMergeWith(); | |
44 void slotMergeThreeWay(); | |
45 void slotSaveForLater(); | |
46 void slotClearList(); | |
47 void slotCompareWithHistoryItem(); | |
48 void slotAbout(); | |
49 | |
50 private: | |
51 QStringList m_list; | |
52 QWidget* m_pParentWidget; | |
53 KonqPopupMenu* m_pPopupMenu; | |
54 }; | |
55 #endif |