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.

undodialog.h 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /**************************************************************************
  2. undodialog.h - description
  3. -------------------
  4. begin : Mon Mai 27 20:08:19 CEST 2002
  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. #ifndef UNDODIALOG_H
  17. #define UNDODIALOG_H
  18. #include <kdialogbase.h>
  19. class KPushButton;
  20. class TDEProcess;
  21. class KTextBrowser;
  22. class KURLRequester;
  23. class TQVBoxLayout;
  24. class TQHBoxLayout;
  25. class TQGridLayout;
  26. class TQLabel;
  27. class UndoDialog : public KDialogBase
  28. {
  29. Q_OBJECT
  30. public:
  31. UndoDialog( TQWidget* parent = 0 );
  32. ~UndoDialog();
  33. void setUndoScript( const TQString & filename );
  34. public slots:
  35. void start();
  36. private slots:
  37. void receive( TDEProcess*, char* buffer, int len );
  38. void receiveErr( TDEProcess*, char* buffer, int len );
  39. void finished( TDEProcess* p );
  40. void enableControls();
  41. private:
  42. TQLabel* TextLabel1;
  43. KURLRequester* scriptname;
  44. TQLabel* TextLabel2;
  45. KTextBrowser* browser;
  46. protected:
  47. TQVBoxLayout* UndoDialogLayout;
  48. };
  49. #endif // UNDODIALOG_H