author | harlekin <harlekin> | 2002-10-24 12:53:46 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 12:53:46 (UTC) |
commit | 6d502006357bdfa3f2f03d8227dcc7e04fdcc93c (patch) (unidiff) | |
tree | a9be901eb47b62a297b0b27ea7adac27de97228b | |
parent | 36f411501a68daae3195b481d789864dfc9a2ce8 (diff) | |
download | opie-6d502006357bdfa3f2f03d8227dcc7e04fdcc93c.zip opie-6d502006357bdfa3f2f03d8227dcc7e04fdcc93c.tar.gz opie-6d502006357bdfa3f2f03d8227dcc7e04fdcc93c.tar.bz2 |
do not build quickbutton anymore
-rw-r--r-- | noncore/apps/opie-console/opie-console.pro | 4 | ||||
-rw-r--r-- | noncore/apps/opie-console/quick_button.cpp | 67 | ||||
-rw-r--r-- | noncore/apps/opie-console/quick_button.h | 27 |
3 files changed, 2 insertions, 96 deletions
diff --git a/noncore/apps/opie-console/opie-console.pro b/noncore/apps/opie-console/opie-console.pro index 51b42bf..f5737d4 100644 --- a/noncore/apps/opie-console/opie-console.pro +++ b/noncore/apps/opie-console/opie-console.pro | |||
@@ -1,70 +1,70 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | #CONFIG = qt warn_on release | 2 | #CONFIG = qt warn_on release |
3 | CONFIG = qt debug | 3 | CONFIG = qt debug |
4 | DESTDIR = $(OPIEDIR)/bin | 4 | DESTDIR = $(OPIEDIR)/bin |
5 | HEADERS = io_layer.h io_serial.h io_irda.h io_bt.h io_modem.h \ | 5 | HEADERS = io_layer.h io_serial.h io_irda.h io_bt.h io_modem.h \ |
6 | file_layer.h filetransfer.h \ | 6 | file_layer.h filetransfer.h \ |
7 | metafactory.h \ | 7 | metafactory.h \ |
8 | session.h \ | 8 | session.h \ |
9 | mainwindow.h \ | 9 | mainwindow.h \ |
10 | profile.h \ | 10 | profile.h \ |
11 | profileconfig.h \ | 11 | profileconfig.h \ |
12 | profilemanager.h \ | 12 | profilemanager.h \ |
13 | configwidget.h \ | 13 | configwidget.h \ |
14 | tabwidget.h \ | 14 | tabwidget.h \ |
15 | configdialog.h \ | 15 | configdialog.h \ |
16 | keytrans.h \ | 16 | keytrans.h \ |
17 | transferdialog.h \ | 17 | transferdialog.h \ |
18 | profiledialogwidget.h \ | 18 | profiledialogwidget.h \ |
19 | profileeditordialog.h \ | 19 | profileeditordialog.h \ |
20 | default.h \ | 20 | default.h \ |
21 | iolayerbase.h \ | 21 | iolayerbase.h \ |
22 | serialconfigwidget.h irdaconfigwidget.h \ | 22 | serialconfigwidget.h irdaconfigwidget.h \ |
23 | btconfigwidget.h modemconfigwidget.h \ | 23 | btconfigwidget.h modemconfigwidget.h \ |
24 | atconfigdialog.h dialdialog.h \ | 24 | atconfigdialog.h dialdialog.h \ |
25 | procctl.h \ | 25 | procctl.h \ |
26 | function_keyboard.h quick_button.h \ | 26 | function_keyboard.h \ |
27 | receive_layer.h filereceive.h \ | 27 | receive_layer.h filereceive.h \ |
28 | script.h \ | 28 | script.h \ |
29 | dialer.h \ | 29 | dialer.h \ |
30 | terminalwidget.h \ | 30 | terminalwidget.h \ |
31 | emulation_handler.h TECommon.h \ | 31 | emulation_handler.h TECommon.h \ |
32 | TEHistroy.h TEScreen.h TEWidget.h \ | 32 | TEHistroy.h TEScreen.h TEWidget.h \ |
33 | TEmuVt102.h TEmulation.h MyPty.h | 33 | TEmuVt102.h TEmulation.h MyPty.h |
34 | 34 | ||
35 | SOURCES = io_layer.cpp io_serial.cpp io_irda.cpp io_bt.cpp io_modem.cpp \ | 35 | SOURCES = io_layer.cpp io_serial.cpp io_irda.cpp io_bt.cpp io_modem.cpp \ |
36 | file_layer.cpp filetransfer.cpp \ | 36 | file_layer.cpp filetransfer.cpp \ |
37 | main.cpp \ | 37 | main.cpp \ |
38 | metafactory.cpp \ | 38 | metafactory.cpp \ |
39 | session.cpp \ | 39 | session.cpp \ |
40 | mainwindow.cpp \ | 40 | mainwindow.cpp \ |
41 | profile.cpp \ | 41 | profile.cpp \ |
42 | profileconfig.cpp \ | 42 | profileconfig.cpp \ |
43 | profilemanager.cpp \ | 43 | profilemanager.cpp \ |
44 | tabwidget.cpp \ | 44 | tabwidget.cpp \ |
45 | configdialog.cpp \ | 45 | configdialog.cpp \ |
46 | keytrans.cpp \ | 46 | keytrans.cpp \ |
47 | transferdialog.cpp \ | 47 | transferdialog.cpp \ |
48 | profiledialogwidget.cpp \ | 48 | profiledialogwidget.cpp \ |
49 | profileeditordialog.cpp \ | 49 | profileeditordialog.cpp \ |
50 | iolayerbase.cpp \ | 50 | iolayerbase.cpp \ |
51 | serialconfigwidget.cpp irdaconfigwidget.cpp \ | 51 | serialconfigwidget.cpp irdaconfigwidget.cpp \ |
52 | btconfigwidget.cpp modemconfigwidget.cpp \ | 52 | btconfigwidget.cpp modemconfigwidget.cpp \ |
53 | atconfigdialog.cpp dialdialog.cpp \ | 53 | atconfigdialog.cpp dialdialog.cpp \ |
54 | default.cpp procctl.cpp \ | 54 | default.cpp procctl.cpp \ |
55 | function_keyboard.cpp quick_button.cpp \ | 55 | function_keyboard.cpp \ |
56 | receive_layer.cpp filereceive.cpp \ | 56 | receive_layer.cpp filereceive.cpp \ |
57 | script.cpp \ | 57 | script.cpp \ |
58 | dialer.cpp \ | 58 | dialer.cpp \ |
59 | terminalwidget.cpp \ | 59 | terminalwidget.cpp \ |
60 | emulation_handler.cpp TEHistory.cpp \ | 60 | emulation_handler.cpp TEHistory.cpp \ |
61 | TEScreen.cpp TEWidget.cpp \ | 61 | TEScreen.cpp TEWidget.cpp \ |
62 | TEmuVt102.cpp TEmulation.cpp MyPty.cpp | 62 | TEmuVt102.cpp TEmulation.cpp MyPty.cpp |
63 | 63 | ||
64 | 64 | ||
65 | INTERFACES = configurebase.ui editbase.ui | 65 | INTERFACES = configurebase.ui editbase.ui |
66 | INCLUDEPATH += $(OPIEDIR)/include | 66 | INCLUDEPATH += $(OPIEDIR)/include |
67 | DEPENDPATH += $(OPIEDIR)/include | 67 | DEPENDPATH += $(OPIEDIR)/include |
68 | LIBS += -lqpe -lopie | 68 | LIBS += -lqpe -lopie |
69 | TARGET = opie-console | 69 | TARGET = opie-console |
70 | 70 | ||
diff --git a/noncore/apps/opie-console/quick_button.cpp b/noncore/apps/opie-console/quick_button.cpp deleted file mode 100644 index 09df901..0000000 --- a/noncore/apps/opie-console/quick_button.cpp +++ b/dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | #include <qevent.h> | ||
2 | #include <qapplication.h> | ||
3 | #include <qaction.h> | ||
4 | |||
5 | #include <qpe/resource.h> | ||
6 | #include "quick_button.h" | ||
7 | |||
8 | QuickButton::QuickButton(QWidget *parent) : QFrame(parent) { | ||
9 | |||
10 | QAction *a; | ||
11 | |||
12 | // Button Commands | ||
13 | a = new QAction( tr("Enter"), Resource::loadPixmap( "console/enter" ), QString::null, 0, this, 0 ); | ||
14 | connect( a, SIGNAL( activated() ), this, SLOT( hitEnter() ) ); | ||
15 | a->addTo( parent ); | ||
16 | a = new QAction( tr("Space"), Resource::loadPixmap( "console/space" ), QString::null, 0, this, 0 ); | ||
17 | connect( a, SIGNAL( activated() ), this, SLOT( hitSpace() ) ); | ||
18 | a->addTo( parent ); | ||
19 | a = new QAction( tr("Tab"), Resource::loadPixmap( "console/tab" ), QString::null, 0, this, 0 ); | ||
20 | connect( a, SIGNAL( activated() ), this, SLOT( hitTab() ) ); | ||
21 | a->addTo( parent ); | ||
22 | a = new QAction( tr("Up"), Resource::loadPixmap( "console/up" ), QString::null, 0, this, 0 ); | ||
23 | connect( a, SIGNAL( activated() ), this, SLOT( hitUp() ) ); | ||
24 | a->addTo( parent ); | ||
25 | a = new QAction( tr("Down"), Resource::loadPixmap( "console/down" ), QString::null, 0, this, 0 ); | ||
26 | connect( a, SIGNAL( activated() ), this, SLOT( hitDown() ) ); | ||
27 | a->addTo( parent ); | ||
28 | a = new QAction( tr("Paste"), Resource::loadPixmap( "paste" ), QString::null, 0, this, 0 ); | ||
29 | connect( a, SIGNAL( activated() ), this, SLOT( hitPaste() ) ); | ||
30 | a->addTo( parent ); | ||
31 | |||
32 | |||
33 | } | ||
34 | |||
35 | QuickButton::~QuickButton() { | ||
36 | } | ||
37 | |||
38 | |||
39 | void QuickButton::hitEnter() { | ||
40 | emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Enter, 0, 1, 0); | ||
41 | } | ||
42 | |||
43 | void QuickButton::hitSpace() { | ||
44 | emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Space, 0, 1, 0); | ||
45 | } | ||
46 | |||
47 | void QuickButton::hitTab() { | ||
48 | emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Tab, 0, 1, 0); | ||
49 | } | ||
50 | |||
51 | void QuickButton::hitPaste() { | ||
52 | /* | ||
53 | TEWidget* te = getTe(); | ||
54 | if (te != 0) { | ||
55 | te->pasteClipboard(); | ||
56 | } | ||
57 | */ | ||
58 | } | ||
59 | |||
60 | void QuickButton::hitUp() { | ||
61 | emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Up, 0, 1, 0); | ||
62 | } | ||
63 | |||
64 | void QuickButton::hitDown() { | ||
65 | emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Down, 0, 1, 0); | ||
66 | } | ||
67 | |||
diff --git a/noncore/apps/opie-console/quick_button.h b/noncore/apps/opie-console/quick_button.h deleted file mode 100644 index d3eb1bb..0000000 --- a/noncore/apps/opie-console/quick_button.h +++ b/dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | #ifndef QUICK_BUTTON_H | ||
2 | #define QUICK_BUTTON_H | ||
3 | |||
4 | #include <qframe.h> | ||
5 | |||
6 | class QuickButton : public QFrame { | ||
7 | |||
8 | Q_OBJECT | ||
9 | |||
10 | public: | ||
11 | QuickButton( QWidget *parent = 0 ); | ||
12 | ~QuickButton(); | ||
13 | |||
14 | signals: | ||
15 | |||
16 | void keyPressed( ushort, ushort, bool, bool, bool ); | ||
17 | |||
18 | private slots: | ||
19 | void hitEnter(); | ||
20 | void hitSpace(); | ||
21 | void hitTab(); | ||
22 | void hitPaste(); | ||
23 | void hitUp(); | ||
24 | void hitDown(); | ||
25 | }; | ||
26 | |||
27 | #endif | ||