~ubuntu-branches/ubuntu/saucy/koffice/saucy

« back to all changes in this revision

Viewing changes to kplato/plugins/scripting/ScriptingPart.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-06 15:30:09 UTC
  • mfrom: (0.13.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206153009-yf0dqbp9l7fzwxi8
Tags: 1:2.2.91-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "Module.h"
24
24
 
25
25
#include <klocale.h>
26
 
#include <kgenericfactory.h>
 
26
#include <kpluginfactory.h>
27
27
#include <kstandarddirs.h>
28
28
#include <kactioncollection.h>
29
29
#include <kparts/partmanager.h>
41
41
#include <kptview.h>
42
42
 
43
43
int kplatoScriptingDebugArea() {
 
44
#if KDE_IS_VERSION( 4, 3, 80 )
44
45
    static int s_area = KDebug::registerArea( "kplato (Scripting)" );
 
46
#else
 
47
    static int s_area = 32010;
 
48
#endif
45
49
    return s_area;
46
50
}
47
51