home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / network / mail / composer.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-11  |  846 b   |  43 lines

  1. /****************************************************************************
  2. ** $Id:  qt/composer.h   3.0.0   edited Jun 1 18:44 $
  3. **
  4. ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
  5. **
  6. ** This file is part of an example program for Qt.  This example
  7. ** program may be used, distributed and modified without limitation.
  8. **
  9. *****************************************************************************/
  10.  
  11. #ifndef COMPOSER_H
  12. #define COMPOSER_H
  13.  
  14. #include <qwidget.h>
  15.  
  16.  
  17. class QLineEdit;
  18. class QMultiLineEdit;
  19. class QLabel;
  20. class QPushButton;
  21.  
  22.  
  23. class Composer : public QWidget
  24. {
  25.     Q_OBJECT
  26.  
  27. public:
  28.     Composer( QWidget *parent = 0 );
  29.  
  30. private slots:
  31.     void sendMessage();
  32.     void enableSend();
  33.  
  34. private:
  35.     QLineEdit *from, *to, *subject;
  36.     QMultiLineEdit *message;
  37.     QLabel * sendStatus;
  38.     QPushButton * send;
  39. };
  40.  
  41.  
  42. #endif
  43.