~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to kopete/config/behavior/behaviorconfig_events.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
Import upstream version 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    behaviourconfig_events.cpp
 
3
 
 
4
    Copyright (c) 2006       by Thorben Kröger         <thorbenk@gmx.net>
 
5
 
 
6
    Kopete    (c) 2002-2007  by the Kopete developers  <kopete-devel@kde.org>
 
7
 
 
8
    *************************************************************************
 
9
    *                                                                       *
 
10
    * This program is free software; you can redistribute it and/or modify  *
 
11
    * it under the terms of the GNU General Public License as published by  *
 
12
    * the Free Software Foundation; either version 2 of the License, or     *
 
13
    * (at your option) any later version.                                   *
 
14
    *                                                                       *
 
15
    *************************************************************************
 
16
*/
 
17
 
 
18
#include "behaviorconfig_events.h"
 
19
 
 
20
#include <QMovie>
 
21
 
 
22
BehaviorConfig_Events::BehaviorConfig_Events(QWidget *parent)
 
23
        : QWidget(parent)
 
24
{
 
25
        setupUi(this);
 
26
 
 
27
        if ( !QMovie::supportedFormats().contains("mng") )
 
28
        {
 
29
                kcfg_trayflashNotify->setEnabled(false);
 
30
                kcfg_trayflashNotify->setToolTip(i18n("Animation is not possible as your Qt version does not support the mng video format."));
 
31
        }
 
32
}
 
33
 
 
34
#include "behaviorconfig_events.moc"