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.

knowitchooser.h 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /***************************************************************************
  2. knowitchooser.h - description
  3. -------------------
  4. begin : pi? lut 14 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 KNOWITCHOOSER_H
  17. #define KNOWITCHOOSER_H
  18. #include <kdialogbase.h>
  19. class TQCheckBox;
  20. class KComboBox;
  21. /**
  22. *@author Micha³ Rudolf
  23. */
  24. class KnowitChooser : public KDialogBase {
  25. Q_OBJECT
  26. protected:
  27. KComboBox* notes;
  28. KComboBox* charset;
  29. TQCheckBox* enumerate;
  30. TQCheckBox* toc;
  31. TQCheckBox* rule;
  32. TQCheckBox* style;
  33. public:
  34. enum {SaveCurrent = 0, SaveSubnotes = 0x0001, SaveAll = 0x0002, UseUTF8 = 0x0040,
  35. Enumerate = 0x0080, AddRule = 0x0100, Style = 0x0200, TOC = 0x0400};
  36. KnowitChooser(int flags = 0);
  37. ~KnowitChooser();
  38. int getChoice() const;
  39. void setChoice(int flags);
  40. };
  41. #endif