KRename – powerful batch renamer
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.

plugin.cpp 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /***************************************************************************
  2. plugin.cpp - description
  3. -------------------
  4. begin : Sun Dec 30 2001
  5. copyright : (C) 2001 by Dominik Seichter
  6. email : domseichter@web.de
  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. #include "plugin.h"
  17. #include "helpdialog.h"
  18. #include <tqpixmap.h>
  19. Plugin::Plugin()
  20. {
  21. m_widget = NULL;
  22. }
  23. Plugin::~Plugin()
  24. {
  25. delete m_widget;
  26. }
  27. void Plugin::addHelp( HelpDialogData* ) { }
  28. void Plugin::removeHelp( HelpDialogData* data )
  29. {
  30. data->remove( getName() );
  31. }
  32. bool Plugin::alwaysUsed() const
  33. {
  34. return false;
  35. }
  36. const TQStringList Plugin::getKeys() const
  37. {
  38. return TQStringList();
  39. }
  40. const TQString Plugin::getPattern() const
  41. {
  42. return TQString();
  43. };
  44. const TQPixmap Plugin::getIcon() const
  45. {
  46. return TQPixmap();
  47. }
  48. void Plugin::clearCache()
  49. {
  50. // do nothing...
  51. }
  52. #include "plugin.moc"