• 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
konq_popupmenuinformation.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright 2008 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify
5  it under the terms of the GNU Library General Public License as published
6  by the Free Software Foundation; either version 2 of the License or
7  ( at your option ) version 3 or, at the discretion of KDE e.V.
8  ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.
9 
10  This library 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  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KONQ_POPUPMENUINFORMATION_H
22 #define KONQ_POPUPMENUINFORMATION_H
23 
24 #include "konq_fileitemcapabilities.h"
25 #include <kurl.h>
26 
27 class KFileItemListProperties;
28 class KonqPopupMenuInformationPrivate;
29 class KFileItemList;
30 class QWidget;
31 
43 class LIBKONQ_EXPORT KonqPopupMenuInformation
44 {
45 public:
49  KonqPopupMenuInformation();
50 
54  KonqPopupMenuInformation(const KonqPopupMenuInformation&);
55 
59  ~KonqPopupMenuInformation();
60 
61  KonqPopupMenuInformation & operator=(const KonqPopupMenuInformation& o);
62 
67  KDE_DEPRECATED void setItems(const KFileItemList& items);
68 
73  void setItemListProperties(const KFileItemListProperties& items);
74 
79  KFileItemListProperties itemListProperties() const;
80 
84  KFileItemList items() const;
85 
89  KUrl::List urlList() const;
90 
95  KonqFileItemCapabilities capabilities() const;
96 
100  bool isDirectory() const;
101 
105  QString mimeType() const;
106 
110  QString mimeGroup() const;
111 
115  void setParentWidget(QWidget* parentWidget);
116 
120  QWidget* parentWidget() const;
121 
122 private:
123  QSharedDataPointer<KonqPopupMenuInformationPrivate> d;
124 };
125 
126 #endif /* KONQ_POPUPMENUINFORMATION_H */
QWidget
QString
KonqFileItemCapabilities
Provides information about the access capabilities of a group of KFileItem objects.
Definition: konq_fileitemcapabilities.h:45
LIBKONQ_EXPORT
#define LIBKONQ_EXPORT
Definition: libkonq_export.h:36
KonqPopupMenuInformation
Holds the information about the items shown by KonqPopupMenu.
Definition: konq_popupmenuinformation.h:43
konq_fileitemcapabilities.h
QSharedDataPointer< KonqPopupMenuInformationPrivate >
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