• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-baseapps API Reference
  • KDE Home
  • Contact Us
 

libkonq

  • sources
  • kde-4.14
  • kde-baseapps
  • lib
  • konq
kversioncontrolplugin2.cpp
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (C) 2011 by Vishesh Yadav <vishesh3y@gmail.com> *
3  * Copyright (C) 2011 by Peter Penz <peter.penz19@gmail.com> *
4  * *
5  * This library is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Library General Public *
7  * License version 2 as published by the Free Software Foundation. *
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 #include "kversioncontrolplugin2.h"
21 #include <KFileItem>
22 #include <KFileItemList>
23 
24 KVersionControlPlugin2::KVersionControlPlugin2(QObject* parent) :
25  KVersionControlPlugin(parent)
26 {
27 }
28 
29 KVersionControlPlugin2::~KVersionControlPlugin2()
30 {
31 }
32 
33 KVersionControlPlugin2::VersionState KVersionControlPlugin2::versionState(const KFileItem& item)
34 {
35  Q_UNUSED(item);
36  return KVersionControlPlugin::UnversionedVersion;
37 }
38 
39 QList<QAction*> KVersionControlPlugin2::contextMenuActions(const KFileItemList& items)
40 {
41  Q_UNUSED(items);
42  return QList<QAction*>();
43 }
44 
45 QList<QAction*> KVersionControlPlugin2::contextMenuActions(const QString& directory)
46 {
47  Q_UNUSED(directory);
48  return QList<QAction*>();
49 }
50 
51 #include "kversioncontrolplugin2.moc"
KVersionControlPlugin
Base class for version control plugins.
Definition: kversioncontrolplugin.h:43
QObject
KVersionControlPlugin2::KVersionControlPlugin2
KVersionControlPlugin2(QObject *parent=0)
Definition: kversioncontrolplugin2.cpp:24
KVersionControlPlugin2::contextMenuActions
virtual QList< QAction * > contextMenuActions(const KFileItemList &items)
Empty implementation for deprecated interface of KVersionControlPlugin.
Definition: kversioncontrolplugin2.cpp:39
KVersionControlPlugin::VersionState
VersionState
Definition: kversioncontrolplugin.h:48
QString
KVersionControlPlugin::UnversionedVersion
The file is not under version control.
Definition: kversioncontrolplugin.h:51
QList< QAction * >
KVersionControlPlugin2::~KVersionControlPlugin2
virtual ~KVersionControlPlugin2()
Definition: kversioncontrolplugin2.cpp:29
KVersionControlPlugin2::versionState
virtual VersionState versionState(const KFileItem &item)
Empty implementation for deprecated interface of KVersionControlPlugin.
Definition: kversioncontrolplugin2.cpp:33
kversioncontrolplugin2.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:07:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkonq

Skip menu "libkonq"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kde-baseapps API Reference

Skip menu "kde-baseapps API Reference"
  • Libraries
  •   libkonq

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal