KBFX – an alternative to T-Menu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3KB

  1. /*
  2. * Copyright (C) 2006
  3. * Siraj Razick <siraj@kdemail.net>
  4. * PhobosK <phobosk@mail.kbfx.net>
  5. * see Also AUTHORS
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU Library General Public License version 2 as
  9. * published by the Free Software Foundation
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details
  15. *
  16. * You should have received a copy of the GNU Library General Public
  17. * License along with this program; if not, write to the
  18. * Free Software Foundation, Inc.,
  19. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  20. */
  21. #ifndef KBFX_PLASMA_CANVAS_ITEM_WRAPPER_H
  22. #define KBFX_PLASMA_CANVAS_ITEM_WRAPPER_H
  23. #include "kbfxplasmacanvasitem.h"
  24. #include "kbfxplasmaindexitem.h"
  25. #include <tqcanvas.h>
  26. class KbfxPlasmaCanvasItemWrapper:public TQObject
  27. {
  28. Q_OBJECT
  29. public:
  30. KbfxPlasmaCanvasItemWrapper ( TQCanvas * canvas );
  31. ~KbfxPlasmaCanvasItemWrapper();
  32. TQCanvasItem* item ( KbfxPlasmaCanvasItem::Type __type );
  33. TQCanvasItem* itemIndex ( KbfxPlasmaCanvasItem::Type __type );
  34. private:
  35. TQCanvas * m_canvas;
  36. //none
  37. };
  38. #endif