-rw-r--r-- | noncore/apps/opie-console/tabwidget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/tabwidget.cpp b/noncore/apps/opie-console/tabwidget.cpp index 41a91ed..152c26b 100644 --- a/noncore/apps/opie-console/tabwidget.cpp +++ b/noncore/apps/opie-console/tabwidget.cpp | |||
@@ -1,10 +1,12 @@ | |||
1 | |||
2 | |||
1 | #include "tabwidget.h" | 3 | #include "tabwidget.h" |
2 | 4 | ||
3 | /* OPIE */ | 5 | /* OPIE */ |
4 | #include <opie2/odebug.h> | 6 | #include <opie2/odebug.h> |
5 | using namespace Opie::Core; | 7 | using namespace Opie::Core; |
6 | using namespace Opie::Ui; | 8 | using Opie::Ui::OTabWidget; |
7 | 9 | ||
8 | TabWidget::TabWidget( QWidget* parent, const char* name ) | 10 | TabWidget::TabWidget( QWidget* parent, const char* name ) |
9 | : OTabWidget( parent, name ) { | 11 | : OTabWidget( parent, name ) { |
10 | connect(this, SIGNAL( currentChanged(QWidget*) ), | 12 | connect(this, SIGNAL( currentChanged(QWidget*) ), |
@@ -14,9 +16,9 @@ TabWidget::TabWidget( QWidget* parent, const char* name ) | |||
14 | TabWidget::~TabWidget() { | 16 | TabWidget::~TabWidget() { |
15 | } | 17 | } |
16 | 18 | ||
17 | void TabWidget::add( Session* ses ) { | 19 | void TabWidget::add( Session* ses ) { |
18 | owarn << "session ses " + ses->name() << oendl; | 20 | owarn << "session ses " + ses->name() << oendl; |
19 | if ( !ses->widgetStack() ) return; | 21 | if ( !ses->widgetStack() ) return; |
20 | //reparent( ses->widgetStack(), QPoint() ); | 22 | //reparent( ses->widgetStack(), QPoint() ); |
21 | addTab( ses->widgetStack(), "console/konsole", ses->name() ); | 23 | addTab( ses->widgetStack(), "console/konsole", ses->name() ); |
22 | //addTab( ses->widgetStack(), ses->name() ); | 24 | //addTab( ses->widgetStack(), ses->name() ); |