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

List:       kde-commits
Subject:    KDE/kdelibs/interfaces/ktexteditor
From:       Kevin Ottens <ervin () kde ! org>
Date:       2010-11-04 8:14:36
Message-ID: 20101104081436.0C4FEAC89F () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192871 by ervin:

Remove deprecated symbols from the build (if KDE_NO_DEPRECATED is defined).

 M  +2 -0      ktexteditor.cpp  
 M  +2 -0      plugin.h  


--- trunk/KDE/kdelibs/interfaces/ktexteditor/ktexteditor.cpp #1192870:1192871
@@ -142,6 +142,7 @@
   return doc->insertText(cursorPosition(),text,blockSelection());
 }
 
+#ifndef KDE_NO_DEPRECATED
 Plugin *KTextEditor::createPlugin ( KService::Ptr service, QObject *parent )
 {
   QString error;
@@ -150,6 +151,7 @@
     kWarning() << error;
   return plugin;
 }
+#endif
 
 struct KTextEditorFactorySet : public QSet<KPluginFactory*>
 {
--- trunk/KDE/kdelibs/interfaces/ktexteditor/plugin.h #1192870:1192871
@@ -202,7 +202,9 @@
  * \endcode
  * \return the plugin or NULL if it could not be loaded
  */
+#ifndef KDE_NO_DEPRECATED
 KTEXTEDITOR_EXPORT_DEPRECATED Plugin *createPlugin ( KService::Ptr service, QObject *parent );
+#endif
 
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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