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 00031 class KUrlNavigatorMenu : public KMenu 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 explicit KUrlNavigatorMenu(QWidget* parent); 00037 virtual ~KUrlNavigatorMenu(); 00038 00039 Q_SIGNALS: 00043 void urlsDropped(QAction* action, QDropEvent* event); 00044 00050 void middleMouseButtonClicked(QAction* action); 00051 00052 protected: 00053 virtual void dragEnterEvent(QDragEnterEvent* event); 00054 virtual void dragMoveEvent(QDragMoveEvent* event); 00055 virtual void dropEvent(QDropEvent* event); 00056 virtual void mouseReleaseEvent(QMouseEvent* event); 00057 }; 00058 00059 #endif
KDE 4.6 API Reference