• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

libkonq

  • sources
  • kde-4.12
  • applications
  • kde-baseapps
  • lib
  • konq
konq_copytomenu.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_COPYTOMENU_H
22 #define KONQ_COPYTOMENU_H
23 
24 #include <kurl.h>
25 #include <kfileitem.h>
26 #include <libkonq_export.h>
27 
28 class QMenu;
29 class KonqCopyToMenuPrivate;
30 
34 class LIBKONQ_EXPORT KonqCopyToMenu
35 {
36 public:
44  KonqCopyToMenu();
45 
54  KonqCopyToMenu(QWidget* parentWidget);
55 
59  ~KonqCopyToMenu();
60 
65  void setItems(const KFileItemList& items);
66 
71  void setUrls(const KUrl::List& urls);
72 
76  void setReadOnly(bool ro);
77 
82  void addActionsTo(QMenu* menu);
83 
84 private:
85  KonqCopyToMenuPrivate* const d;
86 };
87 
88 #endif /* KONQ_COPYTOMENU_H */
QWidget
KonqCopyToMenuPrivate
Definition: konq_copytomenu_p.h:28
KonqCopyToMenu
This class adds "Copy To" and "Move To" submenus to a popupmenu.
Definition: konq_copytomenu.h:34
libkonq_export.h
QMenu
LIBKONQ_EXPORT
#define LIBKONQ_EXPORT
Definition: libkonq_export.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

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