KFile
kurlnavigatormenu_p.h
Go to the documentation of this file.
00001 /* 00002 Copyright (C) 2009 by Rahman Duran <rahman.duran@gmail.com> 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 KURLNAVIGATORMENU_P_H 00022 #define KURLNAVIGATORMENU_P_H 00023 00024 #include <kmenu.h> 00025 00026 namespace KDEPrivate 00027 { 00028 00036 class KUrlNavigatorMenu : public KMenu 00037 { 00038 Q_OBJECT 00039 00040 public: 00041 explicit KUrlNavigatorMenu(QWidget* parent); 00042 virtual ~KUrlNavigatorMenu(); 00043 00044 Q_SIGNALS: 00048 void urlsDropped(QAction* action, QDropEvent* event); 00049 00055 void middleMouseButtonClicked(QAction* action); 00056 00057 protected: 00058 virtual void dragEnterEvent(QDragEnterEvent* event); 00059 virtual void dragMoveEvent(QDragMoveEvent* event); 00060 virtual void dropEvent(QDropEvent* event); 00061 virtual void mouseReleaseEvent(QMouseEvent* event); 00062 }; 00063 00064 } // namespace KDEPrivate 00065 00066 #endif
KDE 4.7 API Reference