summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/mainview.h
authorharlekin <harlekin>2002-05-12 08:39:15 (UTC)
committer harlekin <harlekin>2002-05-12 08:39:15 (UTC)
commit8362e586d0fd9a0ad6cea3f26d624a05196a60f8 (patch) (unidiff)
tree82bd5b113cd9f526c6555888cffbfdd907406eb9 /noncore/tools/remote/mainview.h
parent28e86f19c9da68dca417b531e63e534c4545916b (diff)
downloadopie-8362e586d0fd9a0ad6cea3f26d624a05196a60f8.zip
opie-8362e586d0fd9a0ad6cea3f26d624a05196a60f8.tar.gz
opie-8362e586d0fd9a0ad6cea3f26d624a05196a60f8.tar.bz2
opie remote control
Diffstat (limited to 'noncore/tools/remote/mainview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/mainview.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/noncore/tools/remote/mainview.h b/noncore/tools/remote/mainview.h
new file mode 100644
index 0000000..2434064
--- a/dev/null
+++ b/noncore/tools/remote/mainview.h
@@ -0,0 +1,54 @@
1/*
2Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
3Copyright (C) 2002 Thomas Stephens
4
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
7version.
8
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
11Public License for more details.
12
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
15*/
16
17#include <qpe/qpeapplication.h>
18#include <qpe/resource.h>
19#include <qpe/config.h>
20#include <qpushbutton.h>
21#include <qtabwidget.h>
22#include <qlayout.h>
23#include <qmessagebox.h>
24#include <qpaintdevice.h>
25#include <qobject.h>
26#include <sys/socket.h>
27#include <sys/types.h>
28#include <sys/un.h>
29#include <unistd.h>
30#include <stdio.h>
31#include <signal.h>
32
33#include "remotetab.h"
34#include "learntab.h"
35#include "configtab.h"
36
37#define BUFFERSIZE 256
38
39class MainView : public QWidget
40{
41 Q_OBJECT
42public:
43 MainView(QWidget *parent=0, const char *name=0);
44 int getIRSocket();
45 void setIRSocket(int newfd);
46public slots:
47 void updateRemotesList();
48private:
49 int fd;
50 RemoteTab *remote;
51 ConfigTab *config;
52 LearnTab *learn;
53 Config *cfg;
54};