summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-16 20:18:23 (UTC)
committer harlekin <harlekin>2002-10-16 20:18:23 (UTC)
commit948a3738421c579441a83dff4472ed5f99e3abb1 (patch) (side-by-side diff)
treee46ba62b6d8340dbadafcfc53dbaf787bc3ff966
parent4595d49dcbdb6d5ea7c86aa4a2c4cb063777ca35 (diff)
downloadopie-948a3738421c579441a83dff4472ed5f99e3abb1.zip
opie-948a3738421c579441a83dff4472ed5f99e3abb1.tar.gz
opie-948a3738421c579441a83dff4472ed5f99e3abb1.tar.bz2
docu added
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp16
-rw-r--r--noncore/apps/opie-console/mainwindow.h2
-rw-r--r--noncore/apps/opie-console/opie-console.control2
3 files changed, 10 insertions, 10 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 @@
#include <qpushbutton.h>
+#include <qwhatsthis.h>
@@ -52,3 +53,3 @@ static char * menu_xpm[] = {
-MainWindow::MainWindow() {
+MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) {
KeyTrans::loadAll();
@@ -467,4 +468,4 @@ void MainWindow::slotFullscreen() {
( m_curSession->widgetStack() )->setFrameStyle( QFrame::NoFrame );
- ( m_curSession->widgetStack() )->reparent( 0,WStyle_Tool | WStyle_Customize | WStyle_StaysOnTop,
- QPoint(0,0), false);
+ ( m_curSession->widgetStack() )->reparent( 0,WStyle_Tool | WStyle_Customize | WStyle_StaysOnTop
+ , QPoint(0,0), false);
( m_curSession->widgetStack() )->resize(qApp->desktop()->width(), qApp->desktop()->height());
@@ -473,6 +474,6 @@ void MainWindow::slotFullscreen() {
- //QPushButton *cornerButton = new QPushButton( );
- //cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) );
- //connect( cornerButton, SIGNAL( pressed() ), this, SLOT( slotFullscreen() ) );
- // need teh scrollbar
+ QPushButton *cornerButton = new QPushButton( m_curSession->widgetStack() );
+ cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) );
+ connect( cornerButton, SIGNAL( pressed() ), this, SLOT( slotFullscreen() ) );
+ // would need a scrollview
// ( m_curSession->widgetStack() )->setCornerWidget( cornerButton );
@@ -480,3 +481,2 @@ void MainWindow::slotFullscreen() {
}
-
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 {
public:
- MainWindow();
+ MainWindow( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 );
~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
Version: 0.6-$SUB_VERSION
-Depends: qpe-base ($QPE_VERSION), libopie ($QPE_VERSION)
+Depends: qpe-base ($QPE_VERSION), libopie ($QPE_VERSION), opie-console-help-en
License: GPL