summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/edit.cpp
authordrw <drw>2005-06-15 19:04:33 (UTC)
committer drw <drw>2005-06-15 19:04:33 (UTC)
commitb86723182311fa621451c2641acf62b3b89dceeb (patch) (side-by-side diff)
treef630932a4174f8c8ec030b19262a02a2adb4e27b /noncore/settings/networksettings/ppp/edit.cpp
parentc93c8f75bb082c0257ce80f9e8a1eb470bdce397 (diff)
downloadopie-b86723182311fa621451c2641acf62b3b89dceeb.zip
opie-b86723182311fa621451c2641acf62b3b89dceeb.tar.gz
opie-b86723182311fa621451c2641acf62b3b89dceeb.tar.bz2
Resource -> OResource and fix compiler warning
Diffstat (limited to 'noncore/settings/networksettings/ppp/edit.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/edit.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/ppp/edit.cpp b/noncore/settings/networksettings/ppp/edit.cpp
index 6c9735c..0abf161 100644
--- a/noncore/settings/networksettings/ppp/edit.cpp
+++ b/noncore/settings/networksettings/ppp/edit.cpp
@@ -26,13 +26,15 @@
#include "edit.h"
#include "pppdata.h"
#include "iplined.h"
#include "auth.h"
/* OPIE */
-#include <qpe/resource.h>
+#include <opie2/oresource.h>
+
+#include <qpe/applnk.h>
#include <qpe/qpeapplication.h>
/* QT */
#include <qlayout.h>
#include <qmessagebox.h>
#include <qwhatsthis.h>
@@ -80,15 +82,17 @@ DialWidget::DialWidget( PPPData *pd, QWidget *parent, bool isnewaccount
QVBoxLayout *lpn1 = new QVBoxLayout;
lpn->addLayout(lpn1);
add = new QPushButton(tr("&Add..."), this);
del = new QPushButton(tr("&Remove"), this);
up = new QPushButton(this);
- up->setPixmap( Resource::loadPixmap("up") );
+ up->setPixmap( Opie::Core::OResource::loadPixmap("up", Opie::Core::OResource::SmallIcon) );
+ up->setMinimumHeight( AppLnk::smallIconSize()+4 );
down = new QPushButton(this);
- down->setPixmap( Resource::loadPixmap("down") );
+ down->setPixmap( Opie::Core::OResource::loadPixmap("down", Opie::Core::OResource::SmallIcon) );
+ down->setMinimumHeight( AppLnk::smallIconSize()+4 );
lpn1->addWidget(add);
lpn1->addWidget(del);
lpn1->addStretch(1);
lpn1->addWidget(up);
lpn1->addWidget(down);
connect(add, SIGNAL(clicked()),