summaryrefslogtreecommitdiff
authorzecke <zecke>2004-05-10 19:32:44 (UTC)
committer zecke <zecke>2004-05-10 19:32:44 (UTC)
commit0e1086dfe7238cbee8553828afaf32aae4cee70d (patch) (side-by-side diff)
tree69f430dd09f46a0c0918dbff691bb5b38f9b8859
parent68ed690928707c8ca5d324e35c8866ad3b1e84df (diff)
downloadopie-0e1086dfe7238cbee8553828afaf32aae4cee70d.zip
opie-0e1086dfe7238cbee8553828afaf32aae4cee70d.tar.gz
opie-0e1086dfe7238cbee8553828afaf32aae4cee70d.tar.bz2
Somehow unstable feed build is confuses of Opie::Ui::OTabWidget and looks in OTabWidget...
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/tabwidget.cpp4
1 files changed, 3 insertions, 1 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,30 +1,32 @@
+
+
#include "tabwidget.h"
/* OPIE */
#include <opie2/odebug.h>
using namespace Opie::Core;
-using namespace Opie::Ui;
+using Opie::Ui::OTabWidget;
TabWidget::TabWidget( QWidget* parent, const char* name )
: OTabWidget( parent, name ) {
connect(this, SIGNAL( currentChanged(QWidget*) ),
this, SLOT( slotCurChanged(QWidget*) ) );
}
TabWidget::~TabWidget() {
}
void TabWidget::add( Session* ses ) {
owarn << "session ses " + ses->name() << oendl;
if ( !ses->widgetStack() ) return;
//reparent( ses->widgetStack(), QPoint() );
addTab( ses->widgetStack(), "console/konsole", ses->name() );
//addTab( ses->widgetStack(), ses->name() );
m_map.insert( ses->widgetStack(), ses );
}
void TabWidget::remove( Session* ses ) {
m_map.remove( ses->widgetStack() );
removePage( ses->widgetStack() );
}