~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to krita/image/kis_config_widget.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "kis_debug.h"
21
21
#include <QTimer>
22
22
 
23
 
KisConfigWidget::KisConfigWidget(QWidget * parent, Qt::WFlags f)
 
23
KisConfigWidget::KisConfigWidget(QWidget * parent, Qt::WFlags f, int delay)
24
24
        : QWidget(parent, f)
 
25
        , m_delay(delay)
25
26
{
26
27
    m_timer.setSingleShot(true);
27
28
    connect(&m_timer, SIGNAL(timeout()), SLOT(slotConfigChanged()));
39
40
 
40
41
void KisConfigWidget::kickTimer()
41
42
{
42
 
    m_timer.start(500);
 
43
    m_timer.start(m_delay);
43
44
}
44
45
 
45
46
#include "kis_config_widget.moc"