diff options
| author | Frank Reininghaus <[email protected]> | 2014-06-29 20:26:17 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2014-06-29 20:28:46 +0200 |
| commit | 81b84a1eaf9fcfc3c2318b7ab4d30c7c578e9680 (patch) | |
| tree | cac867ccfa59547b10ce37b14a363403fb6ee81c /src/dolphinrecenttabsmenu.h | |
| parent | 81d5335060dd640298c62e7fc4fd6a32a34c3e9d (diff) | |
| parent | 74d8522ac63199b702a09610ca7b1a7071a7215b (diff) | |
Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
dolphin/src/dolphinmainwindow.cpp
dolphin/src/dolphinmainwindow.h
Diffstat (limited to 'src/dolphinrecenttabsmenu.h')
| -rw-r--r-- | src/dolphinrecenttabsmenu.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/dolphinrecenttabsmenu.h b/src/dolphinrecenttabsmenu.h new file mode 100644 index 000000000..34d41530b --- /dev/null +++ b/src/dolphinrecenttabsmenu.h @@ -0,0 +1,49 @@ +/*************************************************************************** + * Copyright (C) 2014 by Emmanuel Pescosta <[email protected]> * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * + ***************************************************************************/ + +#ifndef DOLPHIN_RECENT_TABS_MENU_H +#define DOLPHIN_RECENT_TABS_MENU_H + +#include <KActionMenu> +#include <KUrl> + +class DolphinTabPage; +class QAction; + +class DolphinRecentTabsMenu : public KActionMenu +{ + Q_OBJECT + +public: + explicit DolphinRecentTabsMenu(QObject* parent); + +public slots: + void rememberClosedTab(const KUrl& primaryUrl, const KUrl& secondaryUrl); + +signals: + void restoreClosedTab(const KUrl& primaryUrl, const KUrl& secondaryUrl); + +private slots: + void handleAction(QAction* action); + +private: + QAction* m_clearListAction; +}; + +#endif
\ No newline at end of file |
