[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-13 9:01:21
Message-ID: 1239613281.527899.23443.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 953024 by ruberg:
Now an arrow for the shift key
Added licences
M +19 -6 BackspaceKey.cpp
M +19 -6 BackspaceKey.h
M +1 -1 CMakeLists.txt
M +20 -6 EnterKey.cpp
A ShiftKey.cpp [License: GPL (v2+)]
A ShiftKey.h [License: GPL (v2+)]
M +19 -6 TabKey.cpp
M +19 -6 TabKey.h
M +4 -5 widget.cpp
--- trunk/playground/base/plasma/applets/plasmaboard/BackspaceKey.cpp #953023:953024
@@ -1,10 +1,23 @@
-/*
- * BackspaceKey.cpp
- *
- * Created on: 12.04.2009
- * Author: bjoern
- */
+/*/***************************************************************************
+ * Copyright (C) 2009 by Björn Ruberg <bjoern@ruberg-wegener.de> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
+ ***************************************************************************/
+
#include "BackspaceKey.h"
#include <QPainter>
#include <plasma/theme.h>
--- trunk/playground/base/plasma/applets/plasmaboard/BackspaceKey.h #953023:953024
@@ -1,10 +1,23 @@
-/*
- * BackspaceKey.h
- *
- * Created on: 12.04.2009
- * Author: bjoern
- */
+/*/***************************************************************************
+ * Copyright (C) 2009 by Björn Ruberg <bjoern@ruberg-wegener.de> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
+ ***************************************************************************/
+
#ifndef BACKSPACEKEY_H_
#define BACKSPACEKEY_H_
--- trunk/playground/base/plasma/applets/plasmaboard/CMakeLists.txt #953023:953024
@@ -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 BackspaceKey.cpp TabKey.cpp) +set(plasmaboard_SRCS widget.cpp BoardKey.cpp \
PanelIcon.cpp AlphaNumKey.cpp FuncKey.cpp EnterKey.cpp BackspaceKey.cpp TabKey.cpp \
ShiftKey.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 #953023:953024
@@ -1,9 +1,23 @@
-/*
- * EnterKey.cpp
- *
- * Created on: 11.04.2009
- * Author: bjoern
- */
+/*/***************************************************************************
+ * Copyright (C) 2009 by Björn Ruberg <bjoern@ruberg-wegener.de> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
+ ***************************************************************************/
+
+
#include "EnterKey.h"
#include <QPainter>
#include <plasma/theme.h>
--- trunk/playground/base/plasma/applets/plasmaboard/TabKey.cpp #953023:953024
@@ -1,10 +1,23 @@
-/*
- * BackspaceKey.cpp
- *
- * Created on: 12.04.2009
- * Author: bjoern
- */
+/*/***************************************************************************
+ * Copyright (C) 2009 by Björn Ruberg <bjoern@ruberg-wegener.de> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
+ ***************************************************************************/
+
#include "TabKey.h"
#include <QPainter>
#include <plasma/theme.h>
--- trunk/playground/base/plasma/applets/plasmaboard/TabKey.h #953023:953024
@@ -1,10 +1,23 @@
-/*
- * BackspaceKey.h
- *
- * Created on: 12.04.2009
- * Author: bjoern
- */
+/*/***************************************************************************
+ * Copyright (C) 2009 by Björn Ruberg <bjoern@ruberg-wegener.de> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
+ ***************************************************************************/
+
#ifndef TABKEY_H_
#define TABKEY_H_
--- trunk/playground/base/plasma/applets/plasmaboard/widget.cpp #953023:953024
@@ -1,5 +1,5 @@
/*/***************************************************************************
- * Copyright (C) 2007-2008 by Björn Ruberg <bjoern@ruberg-wegener.de> *
+ * Copyright (C) 2009 by Björn Ruberg <bjoern@ruberg-wegener.de> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -25,6 +25,7 @@
#include "EnterKey.h"
#include "BackspaceKey.h"
#include "TabKey.h"
+#include "ShiftKey.h"
#include <QPainter>
#include <QGraphicsGridLayout>
#include <X11/Xlib.h>
@@ -221,6 +222,8 @@
funcKeys[0] = new BackspaceKey(this);
funcKeys[1] = new TabKey(this);
funcKeys[2] = new EnterKey(this);
+ funcKeys[4] = new ShiftKey(this);
+ funcKeys[5] = new ShiftKey(this);
i = 0;
while ( i < 48 ) {
@@ -351,10 +354,6 @@
funcKeys[3]->setKeycode(XK_Caps_Lock, true);
funcKeys[3]->setText("CAPS");
- funcKeys[4]->setKeycode(XK_Shift_L, false);
- funcKeys[4]->setText("SHIFT");
- funcKeys[5]->setKeycode(XK_Shift_L, false);
- funcKeys[5]->setText("SHIFT");
funcKeys[6]->setKeycode(XK_Control_L, false);
funcKeys[6]->setText("CTL");
funcKeys[7]->setKeycode(XK_Meta_L, false);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic