~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to kalarm/resources/resourcelocal_plugin.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  resourcelocal_plugin.cpp  -  KAlarm local alarm calendar file resource plugin
3
3
 *  Program:  kalarm
4
 
 *  Copyright © 2006 by David Jarvie <software@astrojar.org.uk>
 
4
 *  Copyright © 2006 by David Jarvie <djarvie@kde.org>
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
20
20
 
21
21
#include "kalarm.h"
22
22
 
 
23
#include "resourcelocal.h"
 
24
#include "resourcelocalwidget.h"
 
25
 
23
26
#include <kglobal.h>
24
27
#include <klocale.h>
25
28
 
26
 
#include "resourcelocal.h"
27
 
#include "resourcelocalwidget.h"
28
 
 
29
29
extern "C"
30
30
{
31
 
        KDE_EXPORT void* init_kalarm_local()
32
 
        {
 
31
    KDE_EXPORT void* init_kalarm_local()
 
32
    {
33
33
#ifndef KALARM_STANDALONE
34
 
                KGlobal::locale()->insertCatalog("libkcal");
 
34
        KGlobal::locale()->insertCatalog("libkcal");
35
35
#endif
36
 
                return new KRES::PluginFactory<KAResourceLocal, ResourceLocalConfigWidget>();
37
 
        }
 
36
        return new KRES::PluginFactory<KAResourceLocal, ResourceLocalConfigWidget>();
 
37
    }
38
38
}
 
39
 
 
40
// vim: et sw=4: