home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_qt3.idb / usr / freeware / Qt / examples / rot13 / rot13.h.z / rot13.h
Encoding:
C/C++ Source or Header  |  2002-04-08  |  783 b   |  38 lines

  1. /****************************************************************************
  2. ** $Id:  qt/rot13.h   3.0.3   edited Oct 12 12:18 $
  3. **
  4. ** Definition of something or other
  5. **
  6. ** Created : 979899
  7. **
  8. ** Copyright (C) 1997 by Trolltech AS.  All rights reserved.
  9. **
  10. ** This file is part of an example program for Qt.  This example
  11. ** program may be used, distributed and modified without limitation.
  12. **
  13. *****************************************************************************/
  14.  
  15. #ifndef ROT13_H
  16. #define ROT13_H
  17.  
  18. #include <qwidget.h>
  19.  
  20. class QMultiLineEdit;
  21.  
  22. class Rot13: public QWidget {
  23.     Q_OBJECT
  24. public:
  25.     Rot13();
  26.  
  27.     QString rot13( const QString & ) const;
  28.  
  29. private slots:
  30.     void changeLeft();
  31.     void changeRight();
  32.  
  33. private:
  34.     QMultiLineEdit * left, * right;
  35. };
  36.  
  37. #endif
  38.