author | alwin <alwin> | 2004-03-15 13:44:33 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-15 13:44:33 (UTC) |
commit | 37a57ea21d008f9e06e912f22d017cbf9609ec1f (patch) (side-by-side diff) | |
tree | 752ebe04be4b7e84d11abc9f76ac482f175f4935 | |
parent | b1e0b3b425e1c7ae95d5c35b0a72057132b99f4e (diff) | |
download | opie-37a57ea21d008f9e06e912f22d017cbf9609ec1f.zip opie-37a57ea21d008f9e06e912f22d017cbf9609ec1f.tar.gz opie-37a57ea21d008f9e06e912f22d017cbf9609ec1f.tar.bz2 |
namespace fix
-rw-r--r-- | core/apps/taboapp/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/taboapp/main.cpp b/core/apps/taboapp/main.cpp index b2703ff..e46c71f 100644 --- a/core/apps/taboapp/main.cpp +++ b/core/apps/taboapp/main.cpp @@ -1,38 +1,38 @@ #include <qdir.h> #include <qpe/qpeapplication.h> #include <qpe/qlibrary.h> #include <oappinterface.h> #include <oappplugin.h> #include <opie2/otabwidget.h> int main( int argc, char **argv ) { QPEApplication a( argc, argv ); - OTabWidget *tabwidget = new OTabWidget(0, "tab widget"); + Opie::Ui::OTabWidget *tabwidget = new Opie::Ui::OTabWidget(0, "tab widget"); QString path = QPEApplication::qpeDir() + "/plugins/app"; QDir dir( path, "lib*.so" ); QStringList list = dir.entryList(); QStringList::Iterator it; QInterfacePtr<OAppInterface> iface; for ( it = list.begin(); it != list.end(); ++it ) { QLibrary *lib = new QLibrary( path + "/" + *it ); qDebug( "querying: %s", QString( path + "/" + *it ).latin1() ); if ( lib->queryInterface( IID_OAppInterface, (QUnknownInterface**)&iface ) == QS_OK ) { qDebug( "accepted: %s", QString( path + "/" + *it ).latin1() ); QList<QWidget> list = iface->widgets(); QWidget *widget; for ( widget = list.first(); widget != 0; widget = list.next() ) tabwidget->addTab(widget, QString(*it), QString(*it)); QString lang = getenv( "LANG" ); if (lang.isNull()) lang = "en"; QTranslator *trans = new QTranslator(qApp); |