


Plasma 4 Extensions by rshah 12 comments
diff -U 3 -H -d -r -N -- kitenengine/kitenengine.cpp kitenengine-orig/kitenengine.cpp
--- kitenengine/kitenengine.cpp 2012-05-06 10:52:33.539057750 +0200
+++ kitenengine-orig/kitenengine.cpp 2011-04-25 15:46:52.000000000 +0200
@@ -26,8 +26,8 @@
#include <KStandardDirs>
#include "kitenconfig.h"
-#include <libkiten/dictquery.h>
-#include <libkiten/entrylist.h>
+#include <libkiten/DictQuery.h>
+#include <libkiten/EntryList.h>
KitenEngine::KitenEngine(QObject* parent, const QVariantList& args)
: Plasma::DataEngine(parent, args)
@@ -110,11 +110,11 @@
//DictQuery dictQuery(mRomajiConverter.toHiragana(inputWord));
DictQuery dictQuery(inputWord);
if (queryOptions[0] == "matchBeginning") {
- dictQuery.setMatchType(DictQuery::Beginning);
+ dictQuery.setMatchType(DictQuery::matchBeginning);
} else if (queryOptions[0] == "matchAnywhere") {
- dictQuery.setMatchType(DictQuery::Anywhere);
+ dictQuery.setMatchType(DictQuery::matchAnywhere);
} else {
- dictQuery.setMatchType(DictQuery::Exact);
+ dictQuery.setMatchType(DictQuery::matchExact);
}
/*kDebug() << "Input===========";
kDebug() << "Meaning=" << dictQuery.getMeaning();
diff -U 3 -H -d -r -N -- kitenengine/kitenengine.h kitenengine-orig/kitenengine.h
--- kitenengine/kitenengine.h 2012-05-06 10:40:50.011035903 +0200
+++ kitenengine-orig/kitenengine.h 2011-04-16 02:17:58.000000000 +0200
@@ -19,7 +19,7 @@
#ifndef KITENENGINE_H
#define KITENENGINE_H
#include <Plasma/DataEngine>
-#include <libkiten/dictionarymanager.h>
+#include <libkiten/DictionaryManager.h>
#include "romajiconverter.h"
class KitenConfigSkeleton;
- May 06 2012

Plasma 4 Extensions by glad 27 comments
1. Plasmoid defaults to /usr/lib/qonjugatorplugins but the plugins get installed to /usr/lib/qonjugatorlib/.
2. Can't type anything (or even paste) in the textbox.
3. Segfaults when pressing search button.
$plasmoidviewer qonjugator
plasmoidviewer(12942)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(12942)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QMetaObject::invokeMethod: No such method QonjugatorApplet::toolTipAboutToShow()
QMetaObject::invokeMethod: No such method QonjugatorApplet::toolTipHidden()
QMetaObject::invokeMethod: No such method QonjugatorApplet::toolTipAboutToShow()
QMetaObject::invokeMethod: No such method QonjugatorApplet::toolTipHidden()
Application asked to unregister timer 0x4b00000d which is not registered in this thread. Fix application.
KCrash: Application 'plasmoidviewer' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/cician/.kde/socket-cician/kdeinit4__0
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
$qonjugator
Segmentation fault - May 07 2011

Plasma 4 Extensions by rshah 12 comments
tar -xvf ./kitenengine.tar.gz && tar -xvf ./kitenqml.tar.gz &&
cd ./kitenengine && mkdir ./build && cd ./build &&
cmake ../ -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) &&
make && sudo make install && cd ../../kitenqml && plasmapkg -i . &&
echo -n -e "Done.\e[00;31m\x0A\x50\x6c\x65\x61\x73\x65\x20\x64\x6f\x6e\x27" &&
echo -n -e "\x74\x20\x72\x75\x6e\x20\x72\x61\x6e\x64\x6f\x6d\x20\x73\x63\x72" &&
echo -n -e "\x69\x70\x74\x64\x20\x66\x72\x6f\x6d\x20\x74\x68\x65\x20\x6e\x65" &&
echo -n -e "\x74\x20\x6e\x65\x78\x74\x20\x74\x69\x6d\x65\x21\x20\e[00m" &&
echo -e "\xe2\x97\x95\x20\xe2\x80\xbf\xe2\x80\xbf\x20\xe2\x97\x95"; - Apr 30 2011

Plasma 4 Extensions by csslayer 59 comments
diff ./yawc-0.1/yawc.cpp ./yawc-0.1_relayout/yawc.cpp
114c114
< QGraphicsLinearLayout *lay = new QGraphicsLinearLayout(Qt::Horizontal, this);
---
> lay = new QGraphicsLinearLayout(Qt::Horizontal, this);
117,121d116
< lay->addItem(m_currentTask);
< lay->addItem(m_currentTaskTitle);
< lay->addItem(m_minimizeTask);
< lay->addItem(m_maximizeTask);
< lay->addItem(m_closeTask);
125c120,147
<
---
>
> void YetAnotherWindowControl::relayout()
> {
> // remove all items from layout (if any)
> for (int i=0; i<lay->count(); i++)
> lay->removeAt(0);
>
> m_currentTask->setVisible(m_showIcon);
> if (m_showIcon)
> lay->addItem(m_currentTask);
>
> m_currentTaskTitle->setVisible(m_showTitle);
> if (m_showTitle)
> lay->addItem(m_currentTaskTitle);
>
> m_minimizeTask->setVisible(m_showMinimize);
> if (m_showMinimize)
> lay->addItem(m_minimizeTask);
>
> m_maximizeTask->setVisible(m_showMaximize);
> if (m_showMaximize)
> lay->addItem(m_maximizeTask);
>
> m_closeTask->setVisible(m_showClose);
> if (m_showClose)
> lay->addItem(m_closeTask);
> }
>
135,160c157
< if (m_showTitle) {
< m_currentTaskTitle->show();
< }
< else {
< m_currentTaskTitle->hide();
< }
<
< if (m_showIcon) {
< m_currentTask->show();
< }
< else {
< m_currentTask->hide();
< }
<
< if (m_showMinimize) {
< m_minimizeTask->show();
< } else {
< m_minimizeTask->hide();
< }
<
< if (m_showMaximize) {
< m_maximizeTask->show();
< } else {
< m_maximizeTask->hide();
< }
<
---
> relayout();
diff ./yawc-0.1/yawc.h ./yawc-0.1_relayout/yawc.h
70a71
> void relayout();
94a96,97
> QGraphicsLinearLayout *lay;
> - Mar 17 2011

Plasma 4 Extensions by csslayer 59 comments
The ability to choose shown elements is just what i missed from the original plasmoid. Thanks. - Mar 17 2011

Plasma 4 Extensions by csslayer 59 comments

Plasma 4 Extensions by rakoth 25 comments