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

KFile

  • sources
  • kde-4.14
  • kdelibs
  • kfile
kurlnavigatormenu_p.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 by Rahman Duran <rahman.duran@gmail.com>
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 KURLNAVIGATORMENU_P_H
22 #define KURLNAVIGATORMENU_P_H
23 
24 #include <kmenu.h>
25 
26 namespace KDEPrivate
27 {
28 
36 class KUrlNavigatorMenu : public KMenu
37 {
38  Q_OBJECT
39 
40 public:
41  explicit KUrlNavigatorMenu(QWidget* parent);
42  virtual ~KUrlNavigatorMenu();
43 
44 Q_SIGNALS:
48  void urlsDropped(QAction* action, QDropEvent* event);
49 
55  void middleMouseButtonClicked(QAction* action);
56 
57 protected:
58  virtual void dragEnterEvent(QDragEnterEvent* event);
59  virtual void dragMoveEvent(QDragMoveEvent* event);
60  virtual void dropEvent(QDropEvent* event);
61  virtual void mouseReleaseEvent(QMouseEvent* event);
62 };
63 
64 } // namespace KDEPrivate
65 
66 #endif
KDEPrivate::KUrlNavigatorMenu::KUrlNavigatorMenu
KUrlNavigatorMenu(QWidget *parent)
Definition: kurlnavigatormenu.cpp:29
QWidget
QDragMoveEvent
KDEPrivate::KUrlNavigatorMenu::mouseReleaseEvent
virtual void mouseReleaseEvent(QMouseEvent *event)
Definition: kurlnavigatormenu.cpp:61
KMenu
KDEPrivate::KUrlNavigatorMenu::dragEnterEvent
virtual void dragEnterEvent(QDragEnterEvent *event)
Definition: kurlnavigatormenu.cpp:39
QMouseEvent
KDEPrivate::KUrlNavigatorMenu::dropEvent
virtual void dropEvent(QDropEvent *event)
Definition: kurlnavigatormenu.cpp:53
KDEPrivate::KUrlNavigatorMenu::urlsDropped
void urlsDropped(QAction *action, QDropEvent *event)
Is emitted when drop event occurs.
kmenu.h
QDropEvent
KDEPrivate::KUrlNavigatorMenu
Provides drop-down menus for the URL navigator.
Definition: kurlnavigatormenu_p.h:36
KDEPrivate::KUrlNavigatorMenu::middleMouseButtonClicked
void middleMouseButtonClicked(QAction *action)
Is emitted, if the action action has been clicked by the middle mouse button (QMenu ignores a click w...
QDragEnterEvent
KDEPrivate::KUrlNavigatorMenu::~KUrlNavigatorMenu
virtual ~KUrlNavigatorMenu()
Definition: kurlnavigatormenu.cpp:35
QAction
QObject::parent
QObject * parent() const
KDEPrivate::KUrlNavigatorMenu::dragMoveEvent
virtual void dragMoveEvent(QDragMoveEvent *event)
Definition: kurlnavigatormenu.cpp:46
QMenu::event
virtual bool event(QEvent *e)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KFile

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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