-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 18 | ||||
-rw-r--r-- | noncore/apps/opie-console/mainwindow.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/opie-console.control | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 9ccefa0..5295600 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -11,2 +11,3 @@ | |||
11 | #include <qpushbutton.h> | 11 | #include <qpushbutton.h> |
12 | #include <qwhatsthis.h> | ||
12 | 13 | ||
@@ -52,3 +53,3 @@ static char * menu_xpm[] = { | |||
52 | 53 | ||
53 | MainWindow::MainWindow() { | 54 | MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { |
54 | KeyTrans::loadAll(); | 55 | KeyTrans::loadAll(); |
@@ -467,4 +468,4 @@ void MainWindow::slotFullscreen() { | |||
467 | ( m_curSession->widgetStack() )->setFrameStyle( QFrame::NoFrame ); | 468 | ( m_curSession->widgetStack() )->setFrameStyle( QFrame::NoFrame ); |
468 | ( m_curSession->widgetStack() )->reparent( 0,WStyle_Tool | WStyle_Customize | WStyle_StaysOnTop, | 469 | ( m_curSession->widgetStack() )->reparent( 0,WStyle_Tool | WStyle_Customize | WStyle_StaysOnTop |
469 | QPoint(0,0), false); | 470 | , QPoint(0,0), false); |
470 | ( m_curSession->widgetStack() )->resize(qApp->desktop()->width(), qApp->desktop()->height()); | 471 | ( m_curSession->widgetStack() )->resize(qApp->desktop()->width(), qApp->desktop()->height()); |
@@ -473,10 +474,9 @@ void MainWindow::slotFullscreen() { | |||
473 | 474 | ||
474 | //QPushButton *cornerButton = new QPushButton( ); | 475 | QPushButton *cornerButton = new QPushButton( m_curSession->widgetStack() ); |
475 | //cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) ); | 476 | cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) ); |
476 | //connect( cornerButton, SIGNAL( pressed() ), this, SLOT( slotFullscreen() ) ); | 477 | connect( cornerButton, SIGNAL( pressed() ), this, SLOT( slotFullscreen() ) ); |
477 | // need teh scrollbar | 478 | // would need a scrollview |
478 | // ( m_curSession->widgetStack() )->setCornerWidget( cornerButton ); | 479 | // ( m_curSession->widgetStack() )->setCornerWidget( cornerButton ); |
479 | m_fullscreen->setText( tr("Stop full screen") ); | 480 | m_fullscreen->setText( tr("Stop full screen") ); |
480 | } | 481 | } |
481 | |||
482 | m_isFullscreen = !m_isFullscreen; | 482 | m_isFullscreen = !m_isFullscreen; |
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h index 91ca147..35338b7 100644 --- a/noncore/apps/opie-console/mainwindow.h +++ b/noncore/apps/opie-console/mainwindow.h | |||
@@ -25,3 +25,3 @@ class MainWindow : public QMainWindow { | |||
25 | public: | 25 | public: |
26 | MainWindow(); | 26 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); |
27 | ~MainWindow(); | 27 | ~MainWindow(); |
diff --git a/noncore/apps/opie-console/opie-console.control b/noncore/apps/opie-console/opie-console.control index aba2192..e307fef 100644 --- a/noncore/apps/opie-console/opie-console.control +++ b/noncore/apps/opie-console/opie-console.control | |||
@@ -6,3 +6,3 @@ Architecture: arm | |||
6 | Version: 0.6-$SUB_VERSION | 6 | Version: 0.6-$SUB_VERSION |
7 | Depends: qpe-base ($QPE_VERSION), libopie ($QPE_VERSION) | 7 | Depends: qpe-base ($QPE_VERSION), libopie ($QPE_VERSION), opie-console-help-en |
8 | License: GPL | 8 | License: GPL |