author | drw <drw> | 2005-06-15 19:23:41 (UTC) |
---|---|---|
committer | drw <drw> | 2005-06-15 19:23:41 (UTC) |
commit | dfad70bb3964d6f7142660ea4349d4af0349b46d (patch) (side-by-side diff) | |
tree | fef2e7f560c9453465159bf5b385b97d658c156e /noncore | |
parent | 1919f131d887881b52998bf1bad3ffda058d381c (diff) | |
download | opie-dfad70bb3964d6f7142660ea4349d4af0349b46d.zip opie-dfad70bb3964d6f7142660ea4349d4af0349b46d.tar.gz opie-dfad70bb3964d6f7142660ea4349d4af0349b46d.tar.bz2 |
Resource -> OResource
-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,10 +1,10 @@ #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 ) { @@ -12,17 +12,17 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) 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 ); } |