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.

tabs.h 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. public:
  30. tabs(KRenameImpl* impl, TQRect r, TQWidget *parent=0, const char *name=0);
  31. ~tabs();
  32. inline KRenameImpl* getKRename() { return krename; }
  33. private slots:
  34. void slotAddPage( TQWidget* page, const TQString & title );
  35. void slotShowPage( int page );
  36. void slotEnableFinish( bool b );
  37. void slotTabChanged();
  38. protected:
  39. virtual void keyPressEvent( TQKeyEvent *e );
  40. protected:
  41. KRenameImpl* krename;
  42. KPushButton* finishButton;
  43. KPushButton* cancelButton;
  44. KMenuBar* menuBar;
  45. TQTabWidget* tab;
  46. };
  47. #endif