author | drw <drw> | 2005-05-04 23:22:17 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-04 23:22:17 (UTC) |
commit | 11833e51efabe194db59640c2d0ccea0a33c11ce (patch) (side-by-side diff) | |
tree | ee444e1da95b52f3f74bb8eb4d2c351002969f32 /noncore/net/opieirc/mainwindow.cpp | |
parent | d89cbf4ba511beaf228ce87d4e21a2a6a49767f2 (diff) | |
download | opie-11833e51efabe194db59640c2d0ccea0a33c11ce.zip opie-11833e51efabe194db59640c2d0ccea0a33c11ce.tar.gz opie-11833e51efabe194db59640c2d0ccea0a33c11ce.tar.bz2 |
Resource -> OResource
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,11 +1,11 @@ -#include <qmenubar.h> -#include <qpe/resource.h> #include <opie2/odebug.h> +#include <opie2/oresource.h> +#include <qmenubar.h> #include <qwhatsthis.h> #include "mainwindow.h" #include "ircservertab.h" #include "dcctransfertab.h" #include "ircserverlist.h" @@ -26,17 +26,21 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow( connect(m_tabWidget, SIGNAL(currentChanged(QWidget*)), this, SLOT(selected(QWidget*))); setCentralWidget(m_tabWidget); setToolBarsMovable(FALSE); QMenuBar *menuBar = new QMenuBar(this); QPopupMenu *irc = new QPopupMenu(this); 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())); a->setWhatsThis(tr("Create a new connection to an IRC server")); 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")); connect(a, SIGNAL(activated()), this, SLOT(settings())); a->addTo(irc); m_dccTab = 0; loadSettings(); } |