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

mainview.h

Go to the documentation of this file.
00001 /*
00002 Opie-Remote.  emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
00003 Copyright (C) 2002 Thomas Stephens
00004 
00005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
00006 License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
00007 version.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
00010 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00011 Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
00014 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00015 */
00016 
00017 #include <qpe/qpeapplication.h>
00018 #include <qpe/config.h>
00019 #include <qpushbutton.h>
00020 #include <qtabwidget.h>
00021 #include <qlayout.h>
00022 #include <qmessagebox.h>
00023 #include <qpaintdevice.h>
00024 #include <qobject.h>
00025 #include <sys/socket.h>
00026 #include <sys/types.h>
00027 #include <sys/un.h>
00028 #include <unistd.h>
00029 #include <stdio.h>
00030 #include <signal.h>
00031 
00032 #include "remotetab.h"
00033 #include "learntab.h"
00034 #include "configtab.h"
00035 #include "helptab.h"
00036 
00037 #define BUFFERSIZE 256
00038 
00039 class MainView : public QWidget
00040 {
00041         Q_OBJECT
00042 public:
00043         MainView(QWidget *parent=0, const char *name=0);
00044         int getIRSocket();
00045         void setIRSocket(int newfd);
00046 public slots:
00047         void updateRemotesList();
00048 private:
00049         int fd;
00050         RemoteTab *remote;
00051         ConfigTab *config;
00052         LearnTab *learn;
00053         HelpTab *help;
00054         Config *cfg;
00055 };

Generated on Sat Nov 5 16:18:02 2005 for OPIE by  doxygen 1.4.2