summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-24 12:53:46 (UTC)
committer harlekin <harlekin>2002-10-24 12:53:46 (UTC)
commit6d502006357bdfa3f2f03d8227dcc7e04fdcc93c (patch) (side-by-side diff)
treea9be901eb47b62a297b0b27ea7adac27de97228b
parent36f411501a68daae3195b481d789864dfc9a2ce8 (diff)
downloadopie-6d502006357bdfa3f2f03d8227dcc7e04fdcc93c.zip
opie-6d502006357bdfa3f2f03d8227dcc7e04fdcc93c.tar.gz
opie-6d502006357bdfa3f2f03d8227dcc7e04fdcc93c.tar.bz2
do not build quickbutton anymore
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/opie-console.pro4
-rw-r--r--noncore/apps/opie-console/quick_button.cpp67
-rw-r--r--noncore/apps/opie-console/quick_button.h27
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 @@
TEMPLATE = app
#CONFIG = qt warn_on release
CONFIG = qt debug
DESTDIR = $(OPIEDIR)/bin
HEADERS = io_layer.h io_serial.h io_irda.h io_bt.h io_modem.h \
file_layer.h filetransfer.h \
metafactory.h \
session.h \
mainwindow.h \
profile.h \
profileconfig.h \
profilemanager.h \
configwidget.h \
tabwidget.h \
configdialog.h \
keytrans.h \
transferdialog.h \
profiledialogwidget.h \
profileeditordialog.h \
default.h \
iolayerbase.h \
serialconfigwidget.h irdaconfigwidget.h \
btconfigwidget.h modemconfigwidget.h \
atconfigdialog.h dialdialog.h \
procctl.h \
- function_keyboard.h quick_button.h \
+ function_keyboard.h \
receive_layer.h filereceive.h \
script.h \
dialer.h \
terminalwidget.h \
emulation_handler.h TECommon.h \
TEHistroy.h TEScreen.h TEWidget.h \
TEmuVt102.h TEmulation.h MyPty.h
SOURCES = io_layer.cpp io_serial.cpp io_irda.cpp io_bt.cpp io_modem.cpp \
file_layer.cpp filetransfer.cpp \
main.cpp \
metafactory.cpp \
session.cpp \
mainwindow.cpp \
profile.cpp \
profileconfig.cpp \
profilemanager.cpp \
tabwidget.cpp \
configdialog.cpp \
keytrans.cpp \
transferdialog.cpp \
profiledialogwidget.cpp \
profileeditordialog.cpp \
iolayerbase.cpp \
serialconfigwidget.cpp irdaconfigwidget.cpp \
btconfigwidget.cpp modemconfigwidget.cpp \
atconfigdialog.cpp dialdialog.cpp \
default.cpp procctl.cpp \
- function_keyboard.cpp quick_button.cpp \
+ function_keyboard.cpp \
receive_layer.cpp filereceive.cpp \
script.cpp \
dialer.cpp \
terminalwidget.cpp \
emulation_handler.cpp TEHistory.cpp \
TEScreen.cpp TEWidget.cpp \
TEmuVt102.cpp TEmulation.cpp MyPty.cpp
INTERFACES = configurebase.ui editbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopie
TARGET = opie-console
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 @@
-#include <qevent.h>
-#include <qapplication.h>
-#include <qaction.h>
-
-#include <qpe/resource.h>
-#include "quick_button.h"
-
-QuickButton::QuickButton(QWidget *parent) : QFrame(parent) {
-
- QAction *a;
-
- // Button Commands
- a = new QAction( tr("Enter"), Resource::loadPixmap( "console/enter" ), QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( hitEnter() ) );
- a->addTo( parent );
- a = new QAction( tr("Space"), Resource::loadPixmap( "console/space" ), QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( hitSpace() ) );
- a->addTo( parent );
- a = new QAction( tr("Tab"), Resource::loadPixmap( "console/tab" ), QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( hitTab() ) );
- a->addTo( parent );
- a = new QAction( tr("Up"), Resource::loadPixmap( "console/up" ), QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( hitUp() ) );
- a->addTo( parent );
- a = new QAction( tr("Down"), Resource::loadPixmap( "console/down" ), QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( hitDown() ) );
- a->addTo( parent );
- a = new QAction( tr("Paste"), Resource::loadPixmap( "paste" ), QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( hitPaste() ) );
- a->addTo( parent );
-
-
-}
-
-QuickButton::~QuickButton() {
-}
-
-
-void QuickButton::hitEnter() {
- emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Enter, 0, 1, 0);
-}
-
-void QuickButton::hitSpace() {
- emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Space, 0, 1, 0);
-}
-
-void QuickButton::hitTab() {
- emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Tab, 0, 1, 0);
-}
-
-void QuickButton::hitPaste() {
- /*
- TEWidget* te = getTe();
- if (te != 0) {
- te->pasteClipboard();
- }
- */
-}
-
-void QuickButton::hitUp() {
- emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Up, 0, 1, 0);
-}
-
-void QuickButton::hitDown() {
- emit keyPressed( QKeyEvent::KeyPress, Qt::Key_Down, 0, 1, 0);
-}
-
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 @@
-#ifndef QUICK_BUTTON_H
-#define QUICK_BUTTON_H
-
-#include <qframe.h>
-
-class QuickButton : public QFrame {
-
- Q_OBJECT
-
-public:
- QuickButton( QWidget *parent = 0 );
- ~QuickButton();
-
- signals:
-
- void keyPressed( ushort, ushort, bool, bool, bool );
-
-private slots:
- void hitEnter();
- void hitSpace();
- void hitTab();
- void hitPaste();
- void hitUp();
- void hitDown();
-};
-
-#endif