[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/plasmaboard
From: Björn Ruberg <bjoern () ruberg-wegener ! de>
Date: 2009-04-12 18:56:23
Message-ID: 1239562583.997442.21193.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 952880 by ruberg:
Arrow for Backspace
A BackspaceKey.cpp [License: UNKNOWN]
A BackspaceKey.h [License: UNKNOWN]
M +1 -1 CMakeLists.txt
M +1 -1 EnterKey.cpp
M +2 -2 widget.cpp
--- trunk/playground/base/plasma/applets/plasmaboard/CMakeLists.txt #952879:952880
@@ -13,7 +13,7 @@
)
# We add our source code here
-set(plasmaboard_SRCS widget.cpp BoardKey.cpp PanelIcon.cpp AlphaNumKey.cpp \
FuncKey.cpp EnterKey.cpp) +set(plasmaboard_SRCS widget.cpp BoardKey.cpp PanelIcon.cpp \
AlphaNumKey.cpp FuncKey.cpp EnterKey.cpp BackspaceKey.cpp)
# Now make sure all files get to the right place
kde4_add_plugin(plasma_applet_plasmaboard ${plasmaboard_SRCS})
--- trunk/playground/base/plasma/applets/plasmaboard/EnterKey.cpp #952879:952880
@@ -40,7 +40,7 @@
QPointF(rect.left() + width / 3, center.y() + height / 20),
};
- painter->drawConvexPolygon(points, 3)
+ painter->drawConvexPolygon(points, 3);
Plasma::PushButton::paint(painter, option, widget);
}
--- trunk/playground/base/plasma/applets/plasmaboard/widget.cpp #952879:952880
@@ -23,6 +23,7 @@
#include "AlphaNumKey.h"
#include "FuncKey.h"
#include "EnterKey.h"
+#include "BackspaceKey.h"
#include <QPainter>
#include <QGraphicsGridLayout>
#include <X11/Xlib.h>
@@ -216,6 +217,7 @@
i++;
}
+ funcKeys[0] = new BackspaceKey(this);
funcKeys[2] = new EnterKey(this);
i = 0;
@@ -345,8 +347,6 @@
alphaKeys[46]->setKeycode(60);
alphaKeys[47]->setKeycode(61);
- funcKeys[0]->setKeycode(XK_BackSpace, true);
- funcKeys[0]->setText("BSPC");
funcKeys[1]->setKeycode(XK_Tab, true);
funcKeys[1]->setText("TAB");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic