From ece6650ecd3af0eb450e28a9aadcb0f4dd26cb24 Mon Sep 17 00:00:00 2001 From: Gregor Mi Date: Sun, 3 May 2015 20:40:04 +0200 Subject: Remove SpaceInfoToolsMenu and use KMoreToolsMenuFactory instead Reduces the amount of needed code. NEW: by using KMoreTools the menu is now user-configurable and will automatically extended when KMoreToolsPresets gets new tools. REVIEW: 122911 --- src/statusbar/spaceinfotoolsmenu.h | 41 -------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/statusbar/spaceinfotoolsmenu.h (limited to 'src/statusbar/spaceinfotoolsmenu.h') diff --git a/src/statusbar/spaceinfotoolsmenu.h b/src/statusbar/spaceinfotoolsmenu.h deleted file mode 100644 index 3ca2e184f..000000000 --- a/src/statusbar/spaceinfotoolsmenu.h +++ /dev/null @@ -1,41 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2014 by Gregor Mi * - * * - * 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 SPACEINFOTOOLSMENU_H -#define SPACEINFOTOOLSMENU_H - -#include -#include - -class QWidget; -class QUrl; - -/** - * A menu with tools that help to find out more about free disk space for the given url. - */ -class SpaceInfoToolsMenu : public QMenu -{ - Q_OBJECT - -public: - explicit SpaceInfoToolsMenu(QWidget* parent, QUrl url); - virtual ~SpaceInfoToolsMenu(); -}; - -#endif -- cgit v1.3