annotate kdiff3/kdiff3plugin-QT4/kdiff3plugin.h @ 113:7bca1f1340f6 tip

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