root/trunk/qt4-gui/src/userevents/emoticonlabel.h

Revision 5557, 1.3 kB (checked in by eugene, 14 months ago)

Killed the trailing whitespace from the lines.

Line 
1// -*- c-basic-offset: 2 -*-
2/*
3 * This file is part of Licq, an instant messaging client for UNIX.
4 * Copyright (C) 2000-2006 Licq developers
5 *
6 * Licq is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * Licq is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Licq; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19 */
20
21#ifndef EMOTICONLABEL_H
22#define EMOTICONLABEL_H
23
24#include <QPushButton>
25
26namespace LicqQtGui
27{
28
29class EmoticonLabel : public QPushButton
30{
31  Q_OBJECT
32public:
33  EmoticonLabel(const QString& file, const QString& value, QWidget* parent);
34
35signals:
36  void clicked(const QString& value);
37  void move(EmoticonLabel* item, int key);
38
39private:
40  void mouseReleaseEvent(QMouseEvent* e);
41  void keyPressEvent(QKeyEvent* e);
42
43  QString myValue;
44};
45
46} // namespace LicqQtGui
47
48#endif
Note: See TracBrowser for help on using the browser.