Diffstat (limited to 'noncore/net/opieirc/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/mainwindow.cpp | 12 |
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,7 +1,7 @@ | |||
1 | #include <qmenubar.h> | ||
2 | #include <qpe/resource.h> | ||
3 | 1 | ||
4 | #include <opie2/odebug.h> | 2 | #include <opie2/odebug.h> |
3 | #include <opie2/oresource.h> | ||
5 | 4 | ||
5 | #include <qmenubar.h> | ||
6 | #include <qwhatsthis.h> | 6 | #include <qwhatsthis.h> |
7 | 7 | ||
@@ -30,9 +30,13 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow( | |||
30 | QPopupMenu *irc = new QPopupMenu(this); | 30 | QPopupMenu *irc = new QPopupMenu(this); |
31 | menuBar->insertItem(tr("IRC"), irc); | 31 | menuBar->insertItem(tr("IRC"), irc); |
32 | QAction *a = new QAction(tr("New connection"), Resource::loadPixmap("pass"), QString::null, 0, this, 0); | 32 | QAction *a = new QAction( tr("New connection"), |
33 | Opie::Core::OResource::loadPixmap( "pass", Opie::Core::OResource::SmallIcon ), | ||
34 | QString::null, 0, this, 0 ); | ||
33 | connect(a, SIGNAL(activated()), this, SLOT(newConnection())); | 35 | connect(a, SIGNAL(activated()), this, SLOT(newConnection())); |
34 | a->setWhatsThis(tr("Create a new connection to an IRC server")); | 36 | a->setWhatsThis(tr("Create a new connection to an IRC server")); |
35 | a->addTo(irc); | 37 | a->addTo(irc); |
36 | a = new QAction(tr("Settings"), Resource::loadPixmap("SettingsIcon"), QString::null, 0, this, 0); | 38 | a = new QAction( tr("Settings"), |
39 | Opie::Core::OResource::loadPixmap( "SettingsIcon", Opie::Core::OResource::SmallIcon ), | ||
40 | QString::null, 0, this, 0 ); | ||
37 | a->setWhatsThis(tr("Configure OpieIRC's behavior and appearance")); | 41 | a->setWhatsThis(tr("Configure OpieIRC's behavior and appearance")); |
38 | connect(a, SIGNAL(activated()), this, SLOT(settings())); | 42 | connect(a, SIGNAL(activated()), this, SLOT(settings())); |