author | drw <drw> | 2004-02-23 23:12:27 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-23 23:12:27 (UTC) |
commit | bff739b1760881bb326ec38ebe62a52195b8c032 (patch) (side-by-side diff) | |
tree | af346d65cb9ce04c9264b518938d2b8a384e0c27 /core/apps/taboapp/main.cpp | |
parent | 728207110007fd6ab6ca945905e7236326a797d7 (diff) | |
download | opie-bff739b1760881bb326ec38ebe62a52195b8c032.zip opie-bff739b1760881bb326ec38ebe62a52195b8c032.tar.gz opie-bff739b1760881bb326ec38ebe62a52195b8c032.tar.bz2 |
Tab OApp: libopie->libopie2
-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 5f7f86c..4b9451e 100644 --- a/core/apps/taboapp/main.cpp +++ b/core/apps/taboapp/main.cpp @@ -1,33 +1,33 @@ #include <qdir.h> #include <qpe/global.h> #include <qpe/qpeapplication.h> #include <qpe/qlibrary.h> #include <oappinterface.h> #include <oappplugin.h> -#include <opie/otabwidget.h> +#include <opie2/otabwidget.h> int main( int argc, char **argv ) { QPEApplication a( argc, argv ); OTabWidget *tabwidget = new 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() ) |