Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qcopimpl.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 ** Copyright (C) 2000-2005 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of the Qtopia Environment.
00005 ** 
00006 ** This program is free software; you can redistribute it and/or modify it
00007 ** under the terms of the GNU General Public License as published by the
00008 ** Free Software Foundation; either version 2 of the License, or (at your
00009 ** option) any later version.
00010 ** 
00011 ** A copy of the GNU GPL license version 2 is included in this package as 
00012 ** LICENSE.GPL.
00013 **
00014 ** This program is distributed in the hope that it will be useful, but
00015 ** WITHOUT ANY WARRANTY; without even the implied warranty of
00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
00017 ** See the GNU General Public License for more details.
00018 **
00019 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00020 **
00021 ** Contact info@trolltech.com if any conditions of this licensing are
00022 ** not clear to you.
00023 **
00024 **********************************************************************/
00025 
00026 #ifndef QCOPIMPL_H
00027 #define QCOPIMPL_H
00028 
00029 #ifdef QWS
00030 #include <qtopia/qcopenvelope_qws.h>
00031 #endif
00032 
00033 #include <qtopia/qpeapplication.h>
00034 #include <qstringlist.h>
00035 #include <qdatastream.h>
00036 #include <qtimer.h>
00037 
00038 #include <stdlib.h>
00039 #include <stdio.h>
00040 #include <sys/types.h>
00041 
00042 #ifndef Q_OS_WIN32
00043 #include <pwd.h>
00044 #include <unistd.h>
00045 #include <grp.h>
00046 #endif
00047 
00048 // No tr() anywhere in this file
00049 
00050 void doqcopusage();
00051 void doqcopsyntax( const QString &where, const QString &what );
00052 int doqcopimpl (int argc, char *argv[]);
00053 
00054 class QCopWatcher : public QObject
00055 {
00056     Q_OBJECT
00057 public:
00058     QCopWatcher( QObject *parent, const QString& msg );
00059     ~QCopWatcher();
00060 
00061 signals:
00062     void done();
00063 
00064 public slots:
00065     void received( const QCString& msg, const QByteArray& data );
00066     void timeout();
00067 
00068 private:
00069     QCString msg;
00070 };
00071 
00072 #endif

Generated on Sat Nov 5 16:15:29 2005 for OPIE by  doxygen 1.4.2