Diffstat (limited to 'noncore/settings/networksettings/ppp/edit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/edit.cpp | 10 |
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 @@ -31,3 +31,5 @@ /* OPIE */ -#include <qpe/resource.h> +#include <opie2/oresource.h> + +#include <qpe/applnk.h> #include <qpe/qpeapplication.h> @@ -85,5 +87,7 @@ DialWidget::DialWidget( PPPData *pd, QWidget *parent, bool isnewaccount 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); |