-rw-r--r-- | noncore/net/linphone/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/linphone/mainwindow.cpp b/noncore/net/linphone/mainwindow.cpp index 1bd9987..5b9b867 100644 --- a/noncore/net/linphone/mainwindow.cpp +++ b/noncore/net/linphone/mainwindow.cpp @@ -1,37 +1,37 @@ #include <qlayout.h> -#include <qpe/resource.h> +#include <opie2/oresource.h> #include <qpe/qpeapplication.h> #include "mainwindow.h" #include "linphoneconfig.h" MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) : QMainWindow( parent, name, flags ) { setCaption( tr( "Sip Phone" ) ); setToolBarsMovable( false ); toolBar = new QToolBar( this ); toolBar->setHorizontalStretchable( true ); menuBar = new QMenuBar( toolBar ); prefMenu = new QPopupMenu( menuBar ); menuBar->insertItem( tr( "Connection" ), prefMenu ); - settings = new QAction( tr("Settings"), QIconSet( Resource::loadPixmap("SettingsIcon") ), 0, 0, this); + settings = new QAction( tr("Settings"), Opie::Core::OResource::loadPixmap("SettingsIcon", Opie::Core::OResource::SmallIcon) ), 0, 0, this); settings->addTo( prefMenu ); connect( settings, SIGNAL( activated() ), SLOT( slotSettings() ) ); mainWidget = new QLinphoneMainWidget( this, "qlinphone", WStyle_ContextHelp ); setCentralWidget( mainWidget ); } MainWindow::~MainWindow() {} void MainWindow::slotSettings() { LinPhoneConfig settings( this, 0, true, WStyle_ContextHelp ); QPEApplication::execDialog( &settings ); // FIXME - only in OK case mainWidget->createLinphoneCore(); } |