home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / network / networkprotocol / view.h < prev   
Encoding:
C/C++ Source or Header  |  2001-10-11  |  797 b   |  39 lines

  1. /****************************************************************************
  2. ** $Id:  qt/view.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 VIEW_H
  12. #define VIEW_H
  13.  
  14. #include <qvbox.h>
  15. #include <qcstring.h>
  16. #include <qurloperator.h>
  17.  
  18. class QMultiLineEdit;
  19.  
  20. class View : public QVBox
  21. {
  22.     Q_OBJECT
  23.     
  24. public:
  25.     View();
  26.     
  27. private slots:
  28.     void downloadFile();
  29.     void newData( const QByteArray &ba );
  30.  
  31. private:
  32.     QMultiLineEdit *fileView;
  33.     QUrlOperator op;
  34.     
  35.     QString getOpenFileName();
  36. };
  37.  
  38. #endif
  39.