• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

kfileitemactions.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright (C) 1998-2009 David Faure <faure@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU Library General Public License as published
00006    by the Free Software Foundation; either version 2 of the License or
00007    ( at your option ) version 3 or, at the discretion of KDE e.V.
00008    ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KFILEITEMACTIONS_H
00022 #define KFILEITEMACTIONS_H
00023 
00024 #include <kfileitem.h>
00025 #include <kio/kio_export.h>
00026 
00027 class KFileItemListProperties;
00028 class KAction;
00029 class QMenu;
00030 class KFileItemActionsPrivate;
00031 
00043 class KIO_EXPORT KFileItemActions : public QObject
00044 {
00045     Q_OBJECT
00046 public:
00052     KFileItemActions(QObject* parent = 0);
00053 
00057     ~KFileItemActions();
00058 
00063     void setItemListProperties(const KFileItemListProperties& itemList);
00064 
00073     void setParentWidget(QWidget* widget);
00074 
00082     void addOpenWithActionsTo(QMenu* menu, const QString& traderConstraint);
00083 
00090     KAction* preferredOpenWithAction(const QString& traderConstraint);
00091 
00105     int addServiceActionsTo(QMenu* menu);
00106 
00107 private:
00108     KFileItemActionsPrivate* const d;
00109 };
00110 
00111 #endif /* KFILEITEMACTIONS_H */
00112 

KIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal