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) (side-by-side diff)
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 @@
+/*
+Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie.
+Copyright (C) 2002 Thomas Stephens
+
+This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
+License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
+version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
+implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
+Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+#include <qpe/qpeapplication.h>
+#include <qpe/resource.h>
+#include <qpe/config.h>
+#include <qpushbutton.h>
+#include <qtabwidget.h>
+#include <qlayout.h>
+#include <qmessagebox.h>
+#include <qpaintdevice.h>
+#include <qobject.h>
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <sys/un.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <signal.h>
+
+#include "remotetab.h"
+#include "learntab.h"
+#include "configtab.h"
+
+#define BUFFERSIZE 256
+
+class MainView : public QWidget
+{
+ Q_OBJECT
+public:
+ MainView(QWidget *parent=0, const char *name=0);
+ int getIRSocket();
+ void setIRSocket(int newfd);
+public slots:
+ void updateRemotesList();
+private:
+ int fd;
+ RemoteTab *remote;
+ ConfigTab *config;
+ LearnTab *learn;
+ Config *cfg;
+};