author | harlekin <harlekin> | 2002-10-24 12:22:18 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 12:22:18 (UTC) |
commit | 23b602802d2c02b20a8c6a9bf8c3785b9ca97b43 (patch) (unidiff) | |
tree | 9af1c9f623316eb888ae525efaeb3a99169ce82d | |
parent | acf708cee945b8b843b0132672d79f5c4571c22b (diff) | |
download | opie-23b602802d2c02b20a8c6a9bf8c3785b9ca97b43.zip opie-23b602802d2c02b20a8c6a9bf8c3785b9ca97b43.tar.gz opie-23b602802d2c02b20a8c6a9bf8c3785b9ca97b43.tar.bz2 |
taken most quickbutton stuff out now and also set the nicer icon again for keys
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 10 | ||||
-rw-r--r-- | noncore/apps/opie-console/mainwindow.h | 3 |
2 files changed, 3 insertions, 10 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 02a3fa9..ddaaf1b 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -27,5 +27,4 @@ | |||
27 | #include "emulation_handler.h" | 27 | #include "emulation_handler.h" |
28 | #include "script.h" | 28 | #include "script.h" |
29 | #include "quick_button.h" | ||
30 | 29 | ||
31 | 30 | ||
@@ -175,5 +174,5 @@ void MainWindow::initUI() { | |||
175 | */ | 174 | */ |
176 | m_openKeys = new QAction (tr("Open Keyboard..."), | 175 | m_openKeys = new QAction (tr("Open Keyboard..."), |
177 | Resource::loadPixmap( "down" ), | 176 | Resource::loadPixmap( "console/keys/keyboard_icon" ), |
178 | QString::null, 0, this, 0); | 177 | QString::null, 0, this, 0); |
179 | 178 | ||
@@ -228,10 +227,4 @@ void MainWindow::initUI() { | |||
228 | m_buttonBar->hide(); | 227 | m_buttonBar->hide(); |
229 | 228 | ||
230 | /* | ||
231 | m_qb = new QuickButton( m_buttonBar ); | ||
232 | connect( m_qb, SIGNAL( keyPressed( ushort, ushort, bool, bool, bool) ), | ||
233 | this, SLOT( slotKeyReceived( ushort, ushort, bool, bool, bool) ) ); | ||
234 | */ | ||
235 | /* now add the copy and paste actions */ | ||
236 | a = new QAction(tr("Copy"), | 229 | a = new QAction(tr("Copy"), |
237 | Resource::loadPixmap("copy"), QString::null, | 230 | Resource::loadPixmap("copy"), QString::null, |
@@ -448,4 +441,5 @@ void MainWindow::create( const Profile& prof ) { | |||
448 | m_sessions.append( ses ); | 441 | m_sessions.append( ses ); |
449 | tabWidget()->add( ses ); | 442 | tabWidget()->add( ses ); |
443 | tabWidget()->repaint(); | ||
450 | m_curSession = ses; | 444 | m_curSession = ses; |
451 | 445 | ||
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h index 16b6252..7cc2aa5 100644 --- a/noncore/apps/opie-console/mainwindow.h +++ b/noncore/apps/opie-console/mainwindow.h | |||
@@ -22,5 +22,5 @@ class Profile; | |||
22 | class FunctionKeyboard; | 22 | class FunctionKeyboard; |
23 | class FKey; | 23 | class FKey; |
24 | class QuickButton; | 24 | |
25 | 25 | ||
26 | class MainWindow : public QMainWindow { | 26 | class MainWindow : public QMainWindow { |
@@ -122,5 +122,4 @@ private: | |||
122 | 122 | ||
123 | FunctionKeyboard *m_kb; | 123 | FunctionKeyboard *m_kb; |
124 | QuickButton *m_qb; | ||
125 | bool m_isFullscreen; | 124 | bool m_isFullscreen; |
126 | 125 | ||