[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/kate/plugins/timedate
From:       Rafael Fernández López <ereslibre () kde ! org>
Date:       2008-01-04 18:32:32
Message-ID: 1199471552.616883.26231.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 757333 by ereslibre:

Despite this plugin is only for teaching issues (although it work correctly), its \
code should be correct and in consonancy with  kdelibs.


 M  +2 -0      ktexteditor_timedate.desktop  
 M  +1 -2      ktexteditor_timedate_config.desktop  
 M  +3 -2      timedate.cpp  
 M  +1 -0      timedate_config.cpp  


--- branches/KDE/4.0/kdelibs/kate/plugins/timedate/ktexteditor_timedate.desktop \
#757332:757333 @@ -1,5 +1,6 @@
 [Desktop Entry]
 X-KDE-Library=ktexteditor_timedate
+X-KDE-PluginKeyword=ktexteditor_timedate
 X-KDE-PluginInfo-Author=Rafael Fernández López
 X-KDE-PluginInfo-Email=ereslibre@kde.org
 X-KDE-PluginInfo-Name=ktexteditortimedate
@@ -10,6 +11,7 @@
 X-KDE-PluginInfo-License=GPL
 X-KDE-PluginInfo-EnabledByDefault=false
 X-KDE-ParentApp=kate
+X-KDE-Version=4.0
 X-KDE-ServiceTypes=KTextEditor/Plugin
 Type=Service
 Icon=office-calendar
--- branches/KDE/4.0/kdelibs/kate/plugins/timedate/ktexteditor_timedate_config.desktop \
#757332:757333 @@ -1,11 +1,10 @@
 [Desktop Entry]
 Type=Service
 X-KDE-ServiceTypes=KCModule
-
 X-KDE-Library=ktexteditor_timedate
+X-KDE-PluginKeyword=ktexteditor_timedate_config
 X-KDE-FactoryName=ktexteditor_timedate_config
 X-KDE-ParentComponents=ktexteditortimedate
-
 Name=Format of Time & Date insertion
 Name[bg]=Формат на време и дата
 Name[bn_IN]=সময় ও তারিখ সন্নিবেশের \
                বিন্যাস
--- branches/KDE/4.0/kdelibs/kate/plugins/timedate/timedate.cpp #757332:757333
@@ -28,12 +28,13 @@
 #include <kaction.h>
 #include <kactioncollection.h>
 #include <kdatetime.h>
+#include <kconfiggroup.h>
 
 TimeDatePlugin *TimeDatePlugin::plugin = 0;
 
 K_PLUGIN_FACTORY_DEFINITION(TimeDatePluginFactory,
-        registerPlugin<TimeDatePlugin>();
-        registerPlugin<TimeDateConfig>();
+        registerPlugin<TimeDatePlugin>("ktexteditor_timedate");
+        registerPlugin<TimeDateConfig>("ktexteditor_timedate_config");
         )
 K_EXPORT_PLUGIN(TimeDatePluginFactory("ktexteditor_timedate", \
"ktexteditor_plugins"))  
--- branches/KDE/4.0/kdelibs/kate/plugins/timedate/timedate_config.cpp #757332:757333
@@ -27,6 +27,7 @@
 #include <kpluginfactory.h>
 #include <kpluginloader.h>
 #include <klineedit.h>
+#include <kconfiggroup.h>
 
 TimeDateConfig::TimeDateConfig(QWidget *parent, const QVariantList &args)
     : KCModule(TimeDatePluginFactory::componentData(), parent, args)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic