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.

59 lines
1.9KB

  1. /***************************************************************************
  2. tabs.h - description
  3. -------------------
  4. begin : Die Mai 20 2003
  5. copyright : (C) 2003 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 TABS_H
  17. #define TABS_H
  18. #include <tqwidget.h>
  19. #include <tqdialog.h>
  20. class KMenuBar;
  21. class KRenameImpl;
  22. class KPushButton;
  23. class TQCloseEvent;
  24. class TQRect;
  25. class TQString;
  26. class TQTabWidget;
  27. class tabs : public TQDialog {
  28. Q_OBJECT
  29. TQ_OBJECT
  30. public:
  31. tabs(KRenameImpl* impl, TQRect r, TQWidget *parent=0, const char *name=0);
  32. ~tabs();
  33. inline KRenameImpl* getKRename() { return krename; }
  34. private slots:
  35. void slotAddPage( TQWidget* page, const TQString & title );
  36. void slotShowPage( int page );
  37. void slotEnableFinish( bool b );
  38. void slotTabChanged();
  39. protected:
  40. virtual void keyPressEvent( TQKeyEvent *e );
  41. protected:
  42. KRenameImpl* krename;
  43. KPushButton* finishButton;
  44. KPushButton* cancelButton;
  45. KMenuBar* menuBar;
  46. TQTabWidget* tab;
  47. };
  48. #endif