summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/mainview.h
Unidiff
Diffstat (limited to 'noncore/tools/remote/mainview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/mainview.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/tools/remote/mainview.h b/noncore/tools/remote/mainview.h
index 7ea82a6..b1ddde4 100644
--- a/noncore/tools/remote/mainview.h
+++ b/noncore/tools/remote/mainview.h
@@ -1,55 +1,52 @@
1/* 1/*
2Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. 2Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
3Copyright (C) 2002 Thomas Stephens 3Copyright (C) 2002 Thomas Stephens
4 4
5This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public 5This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
6License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later 6License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
7version. 7version.
8 8
9This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the 9This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
10implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 10implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11Public License for more details. 11Public License for more details.
12 12
13You should have received a copy of the GNU General Public License along with this program; if not, write to the Free 13You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
14Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15*/ 15*/
16 16
17#include <qpe/qpeapplication.h> 17#include <qpe/qpeapplication.h>
18#include <qpe/config.h> 18#include <qpe/config.h>
19#include <qpushbutton.h> 19#include <qpushbutton.h>
20#include <qtabwidget.h> 20#include <qtabwidget.h>
21#include <qlayout.h> 21#include <qlayout.h>
22#include <qmessagebox.h> 22#include <qmessagebox.h>
23#include <qpaintdevice.h> 23#include <qpaintdevice.h>
24#include <qobject.h> 24#include <qobject.h>
25#include <sys/socket.h> 25#include <sys/socket.h>
26#include <sys/types.h> 26#include <sys/types.h>
27#include <sys/un.h> 27#include <sys/un.h>
28#include <unistd.h> 28#include <unistd.h>
29#include <stdio.h> 29#include <stdio.h>
30#include <signal.h> 30#include <signal.h>
31 31
32#include "remotetab.h" 32#include "remotetab.h"
33#include "learntab.h" 33#include "learntab.h"
34#include "configtab.h" 34#include "configtab.h"
35#include "helptab.h" 35#include "helptab.h"
36 36
37#define BUFFERSIZE 256 37#define BUFFERSIZE 256
38 38
39class MainView : public QWidget 39class MainView : public QWidget
40{ 40{
41 Q_OBJECT 41 Q_OBJECT
42public: 42public:
43 MainView(QWidget *parent=0, const char *name=0); 43 MainView(QWidget *parent=0, const char *name=0);
44 int getIRSocket();
45 void setIRSocket(int newfd);
46public slots: 44public slots:
47 void updateRemotesList(); 45 void updateRemotesList();
48private: 46private:
49 int fd;
50 RemoteTab *remote; 47 RemoteTab *remote;
51 ConfigTab *config; 48 ConfigTab *config;
52 LearnTab *learn; 49 LearnTab *learn;
53 HelpTab *help; 50 HelpTab *help;
54 Config *cfg; 51 Config *cfg;
55}; 52};