author | spiralman <spiralman> | 2002-07-23 22:34:51 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2002-07-23 22:34:51 (UTC) |
commit | 7b69ef59464072521adb20148d49f9c654c066ee (patch) (side-by-side diff) | |
tree | 449ef1dbfeac19f18b1ded20b4865353fa71452c /noncore/tools/remote/mainview.cpp | |
parent | c344a4f4d0a614cfeb75d1d935e1f519d473c068 (diff) | |
download | opie-7b69ef59464072521adb20148d49f9c654c066ee.zip opie-7b69ef59464072521adb20148d49f9c654c066ee.tar.gz opie-7b69ef59464072521adb20148d49f9c654c066ee.tar.bz2 |
Added code for irrecord frontend, doesnt work yet.
Diffstat (limited to 'noncore/tools/remote/mainview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/remote/mainview.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/tools/remote/mainview.cpp b/noncore/tools/remote/mainview.cpp index a7be9e3..eaba7df 100644 --- a/noncore/tools/remote/mainview.cpp +++ b/noncore/tools/remote/mainview.cpp @@ -5,63 +5,60 @@ 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 "mainview.h" MainView::MainView(QWidget *parent, const char *name) : QWidget(parent, name) { setIcon( Resource::loadPixmap( "remote" ) ); setCaption(tr("Remote") ); QVBoxLayout *layout = new QVBoxLayout(this); QTabWidget *tabs = new QTabWidget(this); layout->addWidget(tabs); - printf("MainView: 1\n"); remote = new RemoteTab(tabs); - printf("MainView: 2\n"); learn = new LearnTab(tabs); - printf("MainView: 3\n"); config = new ConfigTab(tabs); - printf("MainView: 4\n"); + help = new HelpTab(tabs); connect(config, SIGNAL(remotesChanged()), this, SLOT(updateRemotesList()) ); - printf("MainView: 5\n"); remote->setIRSocket(fd); tabs->addTab(remote, tr("Remote") ); tabs->addTab(learn,tr("Learn") ); tabs->addTab(config,tr("Config") ); + tabs->addTab(help, tr("Help") ); printf("1\n"); cfg = new Config("Remote"); printf("2\n"); remote->setConfig(cfg); config->setConfig(cfg); } int MainView::getIRSocket() { return fd; } void MainView::setIRSocket(int newfd) { fd = newfd; remote->setIRSocket(fd); } void MainView::updateRemotesList() { remote->updateRemotesList(); printf("MainView: got remotes changed signal\n"); |