~ubuntu-branches/ubuntu/karmic/kst/karmic

« back to all changes in this revision

Viewing changes to kst/src/libkstapp/kstdebugnotifier.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-28 15:16:16 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080628151616-9hvxg0nmnlkmyz4y
Tags: 1.6.0-1
* New upstream release.
* Change B-D to libnetcdf-dev.
* Add dh_icons call.  Closes: #457853.
* Bump Standards-Version to 3.8.0.
* Bump debhelper dependency for dh_icons.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#define TIMER_TICK 250
29
29
#define TIMER_ITERATIONS 10
 
30
#define IMAGE_STAGES 2
30
31
 
31
32
KstDebugNotifier::KstDebugNotifier(QWidget *parent)
32
33
: QLabel(parent) {
33
34
  _animationStage = 0;
34
35
  _gotPress = false;
35
36
  QToolTip::add(this, i18n("An error has occurred.  Click on this icon for more details."));
36
 
#define IMAGE_STAGES 2
 
37
 
37
38
  _pm.resize(IMAGE_STAGES);
38
39
  _pm[0] = QPixmap(locate("data", "kst/pics/kst_error_1.png"));
39
40
  _pm[1] = QPixmap(locate("data", "kst/pics/kst_error_2.png"));
98
99
 
99
100
#undef TIMER_ITERATIONS
100
101
#include "kstdebugnotifier.moc"
101
 
// vim: ts=2 sw=2 et