author | harlekin <harlekin> | 2002-10-24 12:22:18 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 12:22:18 (UTC) |
commit | 23b602802d2c02b20a8c6a9bf8c3785b9ca97b43 (patch) (side-by-side diff) | |
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 @@ #include "emulation_handler.h" #include "script.h" -#include "quick_button.h" @@ -175,5 +174,5 @@ void MainWindow::initUI() { */ m_openKeys = new QAction (tr("Open Keyboard..."), - Resource::loadPixmap( "down" ), + Resource::loadPixmap( "console/keys/keyboard_icon" ), QString::null, 0, this, 0); @@ -228,10 +227,4 @@ void MainWindow::initUI() { m_buttonBar->hide(); - /* - m_qb = new QuickButton( m_buttonBar ); - connect( m_qb, SIGNAL( keyPressed( ushort, ushort, bool, bool, bool) ), - this, SLOT( slotKeyReceived( ushort, ushort, bool, bool, bool) ) ); - */ - /* now add the copy and paste actions */ a = new QAction(tr("Copy"), Resource::loadPixmap("copy"), QString::null, @@ -448,4 +441,5 @@ void MainWindow::create( const Profile& prof ) { m_sessions.append( ses ); tabWidget()->add( ses ); + tabWidget()->repaint(); m_curSession = ses; 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; class FunctionKeyboard; class FKey; -class QuickButton; + class MainWindow : public QMainWindow { @@ -122,5 +122,4 @@ private: FunctionKeyboard *m_kb; - QuickButton *m_qb; bool m_isFullscreen; |