~ubuntu-branches/ubuntu/precise/gwenview/precise-proposed

« back to all changes in this revision

Viewing changes to lib/imageformats/imageformats.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20111215141754-z043hyx69dulbggf
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
 
1
// vim: set tabstop=4 shiftwidth=4 expandtab:
2
2
/*
3
3
Gwenview: an image viewer
4
4
Copyright 2008 Aurélien Gâteau <agateau@kde.org>
32
32
 
33
33
// Local
34
34
 
35
 
namespace Gwenview {
 
35
namespace Gwenview
 
36
{
36
37
 
37
38
QObject* qt_plugin_instance_JpegPlugin();
38
39
 
39
 
namespace ImageFormats {
 
40
namespace ImageFormats
 
41
{
40
42
 
41
43
static bool sPluginsRegistered = false;
42
 
void registerPlugins() {
43
 
        if (sPluginsRegistered) {
44
 
                return;
45
 
        }
46
 
        sPluginsRegistered = true;
47
 
        qRegisterStaticPluginInstanceFunction(qt_plugin_instance_JpegPlugin);
 
44
void registerPlugins()
 
45
{
 
46
    if (sPluginsRegistered) {
 
47
        return;
 
48
    }
 
49
    sPluginsRegistered = true;
 
50
    qRegisterStaticPluginInstanceFunction(qt_plugin_instance_JpegPlugin);
48
51
}
49
52
 
50
53
} // namespace