~ubuntu-branches/ubuntu/quantal/arora/quantal

« back to all changes in this revision

Viewing changes to src/bookmarks/bookmarktoolbutton.h

  • Committer: Bazaar Package Importer
  • Author(s): Roderick B. Greening
  • Date: 2009-10-01 16:08:58 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20091001160858-h1wnt3ddyzl07nih
Tags: 0.10.0-0ubuntu1
* New upstream release 
* Remove patches
  - kubuntu_01_google_lucky.diff - Open Search now used upstream
  - kubuntu_02_default_bookmarks.diff - bookmarks fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright 2008-2009 Benjamin C. Meyer <ben@meyerhome.net>
3
 
 * Copyright 2009 Jakub Wieczorek <faw217@gmail.com>
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or
8
 
 * (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 * GNU General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
 
 * Boston, MA  02110-1301  USA
19
 
 */
20
 
 
21
 
#ifndef BOOKMARKTOOLBUTTON_H
22
 
#define BOOKMARKTOOLBUTTON_H
23
 
 
24
 
#include <qtoolbutton.h>
25
 
 
26
 
#include <qabstractitemmodel.h>
27
 
#include <qurl.h>
28
 
 
29
 
class QMouseEvent;
30
 
class BookmarkToolButton : public QToolButton
31
 
{
32
 
    Q_OBJECT
33
 
 
34
 
public:
35
 
    BookmarkToolButton(QWidget *parent = 0);
36
 
 
37
 
protected:
38
 
    void mousePressEvent(QMouseEvent *event);
39
 
    void mouseReleaseEvent(QMouseEvent *event);
40
 
 
41
 
};
42
 
 
43
 
#endif // BOOKMARKTOOLBUTTON_H