-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 @@ -25,9 +25,8 @@ #include "transferdialog.h" #include "function_keyboard.h" #include "emulation_handler.h" #include "script.h" -#include "quick_button.h" MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { @@ -173,9 +172,9 @@ void MainWindow::initUI() { /* * action that open/closes the keyboard */ m_openKeys = new QAction (tr("Open Keyboard..."), - Resource::loadPixmap( "down" ), + Resource::loadPixmap( "console/keys/keyboard_icon" ), QString::null, 0, this, 0); m_openKeys->setToggleAction(true); @@ -226,14 +225,8 @@ void MainWindow::initUI() { addToolBar( m_buttonBar, "Buttons", QMainWindow::Top, TRUE ); m_buttonBar->setHorizontalStretchable( TRUE ); 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, 0, this, 0 ); //a->addTo( m_icons ); @@ -446,8 +439,9 @@ void MainWindow::create( const Profile& prof ) { } m_sessions.append( ses ); tabWidget()->add( ses ); + tabWidget()->repaint(); m_curSession = ses; // dicide if its a local term ( then no connction and no tranfer), maybe make a wrapper method out of it m_connect->setEnabled( true ); 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 @@ -20,9 +20,9 @@ class TabWidget; class ProfileManager; class Profile; class FunctionKeyboard; class FKey; -class QuickButton; + class MainWindow : public QMainWindow { Q_OBJECT public: @@ -120,9 +120,8 @@ private: QAction* m_fullscreen; QAction* m_closewindow; FunctionKeyboard *m_kb; - QuickButton *m_qb; bool m_isFullscreen; QWidget* savedParentFullscreen; }; |