~ubuntu-branches/ubuntu/vivid/quassel/vivid-updates

« back to all changes in this revision

Viewing changes to src/qtui/settingspages/itemviewsettingspage.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2013-03-06 15:07:41 UTC
  • mfrom: (1.1.49)
  • Revision ID: package-import@ubuntu.com-20130306150741-pys1igw1g8uhja38
Tags: 0.9~beta1-0ubuntu1
* New upstream beta release
  - Remove debian/patches/0001-Support-intermediate-CA-certificates.patch,
    incorporated upstream
  - Remove 0002-Allow-the-core-to-use-expired-certificates.patch,
    incorporated upstream
  - Update kubuntu_02_enable_message_indicator.diff for 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2005-09 by the Quassel Project                          *
 
2
 *   Copyright (C) 2005-2013 by the Quassel Project                        *
3
3
 *   devel@quassel-irc.org                                                 *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
15
15
 *   You should have received a copy of the GNU General Public License     *
16
16
 *   along with this program; if not, write to the                         *
17
17
 *   Free Software Foundation, Inc.,                                       *
18
 
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
18
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
19
19
 ***************************************************************************/
20
20
 
21
21
#ifndef ITEMVIEWSETTINGSPAGE_H_
28
28
class QSignalMapper;
29
29
class QTreeWidgetItem;
30
30
 
31
 
class ItemViewSettingsPage : public SettingsPage {
32
 
  Q_OBJECT
 
31
class ItemViewSettingsPage : public SettingsPage
 
32
{
 
33
    Q_OBJECT
33
34
 
34
35
public:
35
 
  ItemViewSettingsPage(QWidget *parent = 0);
 
36
    ItemViewSettingsPage(QWidget *parent = 0);
36
37
 
37
 
  inline bool hasDefaults() const { return true; }
 
38
    inline bool hasDefaults() const { return true; }
38
39
 
39
40
public slots:
40
 
  void save();
 
41
    void save();
41
42
 
42
43
private slots:
43
 
  void updateBufferViewPreview(QWidget *button);
 
44
    void updateBufferViewPreview(QWidget *button);
44
45
 
45
46
private:
46
 
  Ui::ItemViewSettingsPage ui;
47
 
  QSignalMapper *_mapper;
48
 
  QTreeWidgetItem *_networkItem, *_defaultBufferItem, *_inactiveBufferItem,
49
 
                  *_activeBufferItem, *_unreadBufferItem, *_highlightedBufferItem;
 
47
    Ui::ItemViewSettingsPage ui;
 
48
    QSignalMapper *_mapper;
 
49
    QTreeWidgetItem *_networkItem, *_defaultBufferItem, *_inactiveBufferItem,
 
50
    *_activeBufferItem, *_unreadBufferItem, *_highlightedBufferItem;
50
51
 
51
 
  inline QString settingsKey() const { return QString("ItemViews"); }
 
52
    inline QString settingsKey() const { return QString("ItemViews"); }
52
53
};
53
54
 
 
55
 
54
56
#endif