~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/modules/objects/class_button.h

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch, Kai Wasserbäch, Raúl Sánchez Siles
  • Date: 2011-02-12 10:40:21 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110212104021-5mh4f75jlku20mnt
The combined "Twisted Experiment" and "Nocturnal Raid" release.

[ Kai Wasserbäch ]
* Synced to upstream's SVN revision 5467.
* debian/rules:
  - Added .PHONY line.
  - Resurrect -DMANUAL_REVISION, got lost somewhere and we build SVN
    revisions again.
  - Replace "-DWITH_NO_EMBEDDED_CODE=YES" with "-DWANT_CRYPTOPP=YES".
  - Change the remaining -DWITH/-DWITHOUT to the new -DWANT syntax.
* debian/control:
  - Removed DMUA, I'm a DD now.
  - Changed my e-mail address.
  - Removed unneeded relationships (no upgrades over two releases are
    supported).
  - Fix Suggests for kvirc-dbg.
  - kvirc-data: Make the "Suggests: kvirc" a Recommends, doesn't make much
    sense to install the -data package without the program.
* debian/source/local-options: Added with "unapply-patches".
* debian/kvirc.lintian-overrides: Updated to work for 4.1.1.
* debian/patches/21_make_shared-mime-info_B-D_superfluous.patch: Updated.
* debian/kvirc-data.install: Added .notifyrc.

[ Raúl Sánchez Siles ]
* Stating the right version where kvirc-data break and replace should happen.
* Fixing link to license file.
* Added French and Portuguese man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _CLASS_BUTTON_H_
2
 
#define _CLASS_BUTTON_H_
3
 
//=============================================================================
4
 
//
5
 
//   File : class_button.h
6
 
//   Creation date : Wed 13 Sep 2000 02:42:05 CEST by Krzysztof Godlewski
7
 
//
8
 
//   This file is part of the KVirc irc client distribution
9
 
//   Copyright (C) 2000 Krzysztof Godlewski
10
 
//   Copyright (C) 2000-2009 Szymon Stefanek (pragma at kvirc dot net)
11
 
//
12
 
//   This program is FREE software. You can redistribute it and/or
13
 
//   modify it under the terms of the GNU General Public License
14
 
//   as published by the Free Software Foundation; either version 2
15
 
//   of the License, or (at your opinion) any later version.
16
 
//
17
 
//   This program is distributed in the HOPE that it will be USEFUL,
18
 
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
 
//   See the GNU General Public License for more details.
21
 
//
22
 
//   You should have received a copy of the GNU General Public License
23
 
//   along with this program. If not, write to the Free Software Foundation,
24
 
//   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25
 
//
26
 
//=============================================================================
27
 
 
28
 
 
29
 
 
30
 
#include "class_widget.h"
31
 
#include "object_macros.h"
32
 
 
33
 
class KviKvsObject_button : public KviKvsObject_widget
34
 
{
35
 
        Q_OBJECT
36
 
public:
37
 
        KVSO_DECLARE_OBJECT(KviKvsObject_button)
38
 
public:
39
 
        QWidget * widget() { return (QWidget *)object(); };
40
 
protected:
41
 
        virtual bool init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams);
42
 
 
43
 
        bool setText(KviKvsObjectFunctionCall *c);
44
 
        bool text(KviKvsObjectFunctionCall *c);
45
 
 
46
 
        bool setImage(KviKvsObjectFunctionCall *c);
47
 
        bool clickEvent(KviKvsObjectFunctionCall *c);
48
 
 
49
 
protected slots:
50
 
        void slotClicked();
51
 
};
52
 
 
53
 
#endif  // !_CLASS_BUTTON_H_