~ubuntu-branches/ubuntu/utopic/knutclient/utopic

« back to all changes in this revision

Viewing changes to src/knutmessage.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Quette
  • Date: 2009-03-30 09:29:30 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090330092930-fohi8lm9okac7mtl
Tags: 0.9.5-1
* New upstream release
* debian/rules: remove the empty TODO file from dh_installdocs
* debian/control: add a missing comma on Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
 
54
54
/**
 
55
 * Constructor - makes window of message.
55
56
 * Konstruktor - vytvori okno zpravy.
 
57
 * @param  messageText  is text of message 
 
58
 * @param  type is type of message see on enum typeOfMessage
 
59
 * @param  timeValidity maximal time for showing window, if it is equal zere, time is unlimited.
56
60
 *
57
61
 * @param  messageText je text zpravu.
58
 
 * @param  type je typ zpravy blize Type Of Message
 
62
 * @param  type je typ zpravy blize enum typeOfMessage
59
63
 * @param  timeValidity maximalni doba zobrazeni okna, je-li rovna nule je neomezena.
60
 
 * @since  0.1
 
64
 * @since  0.2
61
65
 */
62
66
  KNutMessage(const QString messageText, const typeOfMessage type=infoMess, const long int timeValidity=0, QWidget *parent=0, const char *name=0);
63
67
 
71
75
signals:
72
76
/**
73
77
 * Je emitovan kdyz dojde ke stisku tlacitka OK, nebo vyprsi doba platnosti (timeValidity).
 
78
 * Is emited, when button OK is pressed or time of validity is stopped.
74
79
 *
75
80
 * @since  0.1
76
81
 **/
106
111
 
107
112
 
108
113
private:
 
114
  // max rime for message window is 3600 sec or 60 min
109
115
  static const int maxTime = 3600;
110
116
 
111
117
  QPixmap m_ret;