kde-extraapps/kget/ui/contextmenu.h

30 lines
874 B
C
Raw Normal View History

/* This file is part of the KDE project
Copyright (C) 2004 Dario Massarin <nekkar@libero.it>
Copyright (C) 2008 Lukas Appelhans <l.appelhans@gmx.de>
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.
*/
#ifndef TRANSFERCONTEXTMENU_H
#define TRANSFERCONTEXTMENU_H
#include <QList>
class TransferHandler;
class TransferGroupHandler;
class KMenu;
#include <QWidget>
namespace ContextMenu
{
KMenu * createTransferContextMenu(QList<TransferHandler*> transfer, QWidget *parent);
KMenu * createTransferContextMenu(TransferHandler* handler, QWidget *parent);
KMenu * createTransferGroupContextMenu(TransferGroupHandler *handler, QWidget *parent);
}
#endif