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.

56 lines
1.8KB

  1. /***************************************************************************
  2. dsdirselectdialog.h - description
  3. -------------------
  4. begin : Sat Jan 03 2004
  5. copyright : (C) 2004 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. #ifndef DSDIRSELECTDIALOG_H
  17. #define DSDIRSELECTDIALOG_H
  18. #include <tdefiledialog.h>
  19. class TQCheckBox;
  20. class TQLabel;
  21. class KComboBox;
  22. /* A small helper class to allow layout changes in KDirSelectDialog */
  23. class DSDirSelectDialog : public KFileDialog {
  24. Q_OBJECT
  25. public:
  26. DSDirSelectDialog( TQWidget* parent );
  27. bool recursively() const;
  28. bool hidden() const;
  29. bool dirs() const;
  30. bool onlyDirs() const;
  31. void setRecursively( bool b );
  32. KURL::List selectedURLs();
  33. private slots:
  34. void enableControls();
  35. void slotOk();
  36. private:
  37. TQCheckBox* check;
  38. TQCheckBox* checkHidden;
  39. TQCheckBox* checkDir;
  40. TQCheckBox* checkOnlyDir;
  41. TQLabel* label;
  42. };
  43. #endif