Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/function_keyboard.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp index 0abe0d9..389618c 100644 --- a/noncore/apps/opie-console/function_keyboard.cpp +++ b/noncore/apps/opie-console/function_keyboard.cpp @@ -84,5 +84,5 @@ void FunctionKeyboard::load (const Profile& prof) { if (!l[1].isEmpty()) { - keys[h].pix = new QPixmap( Resource::loadPixmap( "console/keys/" + l[1] ) ); + keys[h].pix = new QPixmap( Opie::Core::OResource::loadPixmap( "console/keys/" + l[1] ) ); } } @@ -278,6 +278,5 @@ FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* par for (uint i = 0; i < files.count(); i++) { - - m_labels->insertItem( Resource::loadPixmap("console/keys/" + files[i]), files[i]); + m_labels->insertItem( Opie::Core::OResource::loadPixmap("console/keys/" + files[i]), files[i]); } connect (m_labels, SIGNAL(activated(int)), this, SLOT(slotChangeIcon(int))); @@ -329,5 +328,5 @@ void FunctionKeyboardConfig::load (const Profile& prof) { if (!l[1].isEmpty()) { - kb->keys[h].pix = new QPixmap( Resource::loadPixmap( "console/keys/" + l[1] ) ); + kb->keys[h].pix = new QPixmap( Opie::Core::OResource::loadPixmap( "console/keys/" + l[1] ) ); } } @@ -404,5 +403,5 @@ void FunctionKeyboardConfig::slotChangeIcon(int index) { m_labels->setEditable(false); kb->keys[selectedHandle].pixFile = m_labels->currentText(); - kb->keys[selectedHandle].pix = new QPixmap( Resource::loadPixmap( "console/keys/" + m_labels->currentText() ) ); + kb->keys[selectedHandle].pix = new QPixmap( Opie::Core::OResource::loadPixmap( "console/keys/" + m_labels->currentText() ) ); } kb->paintKey(selectedRow, selectedCol); |