author | zecke <zecke> | 2004-05-01 21:10:02 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-05-01 21:10:02 (UTC) |
commit | 49227638e76fa71209390a9c42528a02e3803e3d (patch) (side-by-side diff) | |
tree | 3fbbf00962bbb2698e63a196a83fb156443bafd3 /noncore/apps/opie-console/mainwindow.cpp | |
parent | 0d4fd8b708eddb609fd3b14ffe7df1cb3a1401f1 (diff) | |
download | opie-49227638e76fa71209390a9c42528a02e3803e3d.zip opie-49227638e76fa71209390a9c42528a02e3803e3d.tar.gz opie-49227638e76fa71209390a9c42528a02e3803e3d.tar.bz2 |
Convert to quicklaunch. Integrate the Sharp ROM fixlet in c'tor and d'tor
of the mainwindow
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index b403b4d..b160604 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -11,2 +11,3 @@ #include "script.h" +#include "fixit.h" @@ -31,2 +32,8 @@ using namespace Opie::Ui; MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { +#ifdef FSCKED_DISTRI + FixIt fix; + fix.fixIt(); +#endif + + setCaption(QObject::tr("Opie Console") ); KeyTrans::loadAll(); @@ -300,2 +307,6 @@ MainWindow::~MainWindow() { manager()->save(); +#ifdef FSCKED_DISTRI + FixIt fix; + fix.breakIt(); +#endif } @@ -451,3 +462,3 @@ void MainWindow::slotClose() { Session* ses = currentSession(); - owarn << "removing! currentSession " << currentSession()->name().latin1() << "" << oendl; + owarn << "removing! currentSession " << currentSession()->name().latin1() << "" << oendl; /* set to NULL to be safe, if its needed slotSessionChanged resets it automatically */ @@ -457,3 +468,3 @@ void MainWindow::slotClose() { m_sessions.remove( ses ); - owarn << "after remove!!" << oendl; + owarn << "after remove!!" << oendl; @@ -575,3 +586,3 @@ void MainWindow::slotOpenButtons( bool state ) { void MainWindow::slotSessionChanged( Session* ses ) { - owarn << "changed!" << oendl; + owarn << "changed!" << oendl; @@ -584,3 +595,3 @@ void MainWindow::slotSessionChanged( Session* ses ) { m_curSession = ses; - odebug << QString("is connected : %1").arg( m_curSession->layer()->isConnected() ) << oendl; + odebug << QString("is connected : %1").arg( m_curSession->layer()->isConnected() ) << oendl; if ( m_curSession->layer()->isConnected() ) { |