summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/learntab.h
authorpaule <paule>2007-02-07 10:29:42 (UTC)
committer paule <paule>2007-02-07 10:29:42 (UTC)
commit83d7fd04cc8e1fcafb345f74bc861515e17c5414 (patch) (unidiff)
treecac8b8e8481a9ea8df48b7393439de7e686a4a09 /noncore/tools/remote/learntab.h
parent6629be2c0147283023abcf021227bf74ca18849f (diff)
downloadopie-83d7fd04cc8e1fcafb345f74bc861515e17c5414.zip
opie-83d7fd04cc8e1fcafb345f74bc861515e17c5414.tar.gz
opie-83d7fd04cc8e1fcafb345f74bc861515e17c5414.tar.bz2
Rename Add button to Learn; remove Edit button; move list updating to its own public slot and don't call it automatically (should be called from MainView when lircd is properly set up); correctly show learn dialog modal and update list when it closes; delete learn dialog when done
Diffstat (limited to 'noncore/tools/remote/learntab.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/learntab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/tools/remote/learntab.h b/noncore/tools/remote/learntab.h
index c9d8e41..ac9568a 100644
--- a/noncore/tools/remote/learntab.h
+++ b/noncore/tools/remote/learntab.h
@@ -19,30 +19,30 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19#include <qstring.h> 19#include <qstring.h>
20#include <qstringlist.h> 20#include <qstringlist.h>
21#include <qlayout.h> 21#include <qlayout.h>
22#include <qpushbutton.h> 22#include <qpushbutton.h>
23#include <qmessagebox.h> 23#include <qmessagebox.h>
24 24
25#include <stdio.h> 25#include <stdio.h>
26#include <stdlib.h> 26#include <stdlib.h>
27#include <string.h> 27#include <string.h>
28#include <sys/socket.h> 28#include <sys/socket.h>
29#include <sys/types.h> 29#include <sys/types.h>
30#include <sys/un.h> 30#include <sys/un.h>
31#include <unistd.h> 31#include <unistd.h>
32#include <errno.h> 32#include <errno.h>
33 33
34#include "recorddialog.h" 34#include "recorddialog.h"
35#include "lirchandler.h" 35#include "lirchandler.h"
36 36
37class LearnTab : public QWidget 37class LearnTab : public QWidget
38{ 38{
39 Q_OBJECT 39 Q_OBJECT
40public: 40public:
41 LearnTab(QWidget *parent=0, const char *name=0); 41 LearnTab(QWidget *parent=0, const char *name=0);
42public slots: 42public slots:
43 void add(); 43 void learn();
44 void edit();
45 void del(); 44 void del();
45 void updateRemotesList();
46private: 46private:
47 QListBox *remotesBox; 47 QListBox *remotesBox;
48}; 48};