diff options
| author | Gregor Mi <[email protected]> | 2015-05-03 20:40:04 +0200 |
|---|---|---|
| committer | Gregor Mi <[email protected]> | 2015-05-03 20:42:23 +0200 |
| commit | ece6650ecd3af0eb450e28a9aadcb0f4dd26cb24 (patch) | |
| tree | a38b2f93acb202defc31d297a7996d8d1d56b22a /src/statusbar/spaceinfotoolsmenu.h | |
| parent | 945658459702f008c56bf28d21bc7d3666c7e9db (diff) | |
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
Diffstat (limited to 'src/statusbar/spaceinfotoolsmenu.h')
| -rw-r--r-- | src/statusbar/spaceinfotoolsmenu.h | 41 |
1 files changed, 0 insertions, 41 deletions
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 <[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 SPACEINFOTOOLSMENU_H -#define SPACEINFOTOOLSMENU_H - -#include <QObject> -#include <QMenu> - -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 |
