* maximal -> maximum
[kdenetwork.git] / kget / ui / contextmenu.h
bloba24173467579e91bd4e1e15dce38bb32a5c9dd01
1 /* This file is part of the KDE project
3 Copyright (C) 2004 Dario Massarin <nekkar@libero.it>
4 Copyright (C) 2008 Lukas Appelhans <l.appelhans@gmx.de>
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
12 #ifndef TRANSFERCONTEXTMENU_H
13 #define TRANSFERCONTEXTMENU_H
15 #include <QList>
17 class TransferHandler;
18 class TransferGroupHandler;
19 class KMenu;
20 class QWidget;
22 class ContextMenu
24 public:
25 static KMenu * createTransferContextMenu(QList<TransferHandler*> transfer, QWidget *parent);
26 static KMenu * createTransferContextMenu(TransferHandler* handler, QWidget *parent);
27 static KMenu * createTransferGroupContextMenu(TransferGroupHandler *handler, QWidget *parent);
30 #endif