summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index 3d60107..5edcf66 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -1,6 +1,6 @@
-#include <qmenubar.h>
-#include <qpe/resource.h>
#include <opie2/odebug.h>
+#include <opie2/oresource.h>
+#include <qmenubar.h>
#include <qwhatsthis.h>
@@ -31,3 +31,5 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(
menuBar->insertItem(tr("IRC"), irc);
- QAction *a = new QAction(tr("New connection"), Resource::loadPixmap("pass"), QString::null, 0, this, 0);
+ QAction *a = new QAction( tr("New connection"),
+ Opie::Core::OResource::loadPixmap( "pass", Opie::Core::OResource::SmallIcon ),
+ QString::null, 0, this, 0 );
connect(a, SIGNAL(activated()), this, SLOT(newConnection()));
@@ -35,3 +37,5 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(
a->addTo(irc);
- a = new QAction(tr("Settings"), Resource::loadPixmap("SettingsIcon"), QString::null, 0, this, 0);
+ a = new QAction( tr("Settings"),
+ Opie::Core::OResource::loadPixmap( "SettingsIcon", Opie::Core::OResource::SmallIcon ),
+ QString::null, 0, this, 0 );
a->setWhatsThis(tr("Configure OpieIRC's behavior and appearance"));