summaryrefslogtreecommitdiff
authorzecke <zecke>2004-04-03 00:02:12 (UTC)
committer zecke <zecke>2004-04-03 00:02:12 (UTC)
commitcc5b13ad3cd093239e004f1b92bca9f6d88073a9 (patch) (side-by-side diff)
tree0af3af7a913b12ef357d0b20764df6300aca5226
parent02bb854283a7b0abecf3d3e9dd4c9ece0c5ef6a9 (diff)
downloadopie-cc5b13ad3cd093239e004f1b92bca9f6d88073a9.zip
opie-cc5b13ad3cd093239e004f1b92bca9f6d88073a9.tar.gz
opie-cc5b13ad3cd093239e004f1b92bca9f6d88073a9.tar.bz2
- remove qWarning
- pixmaps for the keyboard actions
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/iconview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp
index 4a20648..f415d39 100644
--- a/noncore/graphics/opie-eye/gui/iconview.cpp
+++ b/noncore/graphics/opie-eye/gui/iconview.cpp
@@ -73,5 +73,5 @@ namespace {
inline QPixmap* IconViewItem::pixmap()const {
- qWarning( "Name is " + m_path.right( 15 ) + " rect is %d %d %d %d | %d %d",
- rect().x(),rect().y(),rect().width(),rect().height(),
- iconView()->contentsX(), iconView()->contentsY());
+// qWarning( "Name is " + m_path.right( 15 ) + " rect is %d %d %d %d | %d %d",
+// rect().x(),rect().y(),rect().width(),rect().height(),
+// iconView()->contentsX(), iconView()->contentsY());
@@ -159,3 +159,3 @@ void PIconView::initKeys() {
m_viewManager->addKeyConfig( OKeyConfigItem(tr("Beam Current Item") , "beam",
- QString::fromLatin1("beam"), BeamItem,
+ Resource::loadPixmap("beam"), BeamItem,
Opie::Ui::OKeyPair(Qt::Key_B, Qt::ShiftButton),
@@ -163,3 +163,3 @@ void PIconView::initKeys() {
m_viewManager->addKeyConfig( OKeyConfigItem(tr("Delete Current Item"), "delete",
- QString::fromLatin1("trash"), DeleteItem,
+ Resource::loadPixmap("trash"), DeleteItem,
Opie::Ui::OKeyPair(Qt::Key_D, Qt::ShiftButton),
@@ -167,3 +167,3 @@ void PIconView::initKeys() {
m_viewManager->addKeyConfig( OKeyConfigItem(tr("View Current Item"), "view",
- QString::fromLatin1("1to1"), ViewItem,
+ Resource::loadPixmap("1to1"), ViewItem,
Opie::Ui::OKeyPair(Qt::Key_V, Qt::ShiftButton),
@@ -171,3 +171,3 @@ void PIconView::initKeys() {
m_viewManager->addKeyConfig( OKeyConfigItem(tr("Show Image Info") , "info",
- QString::fromLatin1("DocumentTypeWord"), InfoItem,
+ Resource::loadPixmap("DocumentTypeWord"), InfoItem,
Opie::Ui::OKeyPair(Qt::Key_I, Qt::ShiftButton ),