KnowIt – tool for managing notes
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.

knowitlinks.h 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /***************************************************************************
  2. knowitlinks.h - description
  3. -------------------
  4. begin : nie gru 21 2003
  5. copyright : (C) 2003 by Micha³ Rudolf
  6. email : mrudolf@kdewebdev.org
  7. ***************************************************************************/
  8. /***************************************************************************
  9. * *
  10. * This program is free software; you can redistribute it and/or modify *
  11. * it under the terms of the GNU General Public License as published by *
  12. * the Free Software Foundation; either version 2 of the License, or *
  13. * (at your option) any later version. *
  14. * *
  15. ***************************************************************************/
  16. #ifndef __KNOWIT_LINKS_H__
  17. #define __KNOWIT_LINKS_H__
  18. #include <tdelistbox.h>
  19. class TQDropEvent;
  20. class TQKeyEvent;
  21. class TQDragEnterEvent;
  22. class KnowitLinks : public TDEListBox
  23. {
  24. Q_OBJECT
  25. public:
  26. KnowitLinks(TQWidget* parent=0, const char* name = 0);
  27. protected:
  28. virtual void dragEnterEvent(TQDragEnterEvent* event);
  29. virtual void dropEvent(TQDropEvent* event);
  30. virtual void keyPressEvent(TQKeyEvent* e);
  31. signals:
  32. void textDropped(const TQString& s, int flags);
  33. void linkRemove();
  34. void linkOpen();
  35. void linkOpenWith();
  36. };
  37. #endif