~ubuntu-branches/ubuntu/intrepid/gwenview/intrepid

« back to all changes in this revision

Viewing changes to gwenview/browsablefileview.h

  • Committer: Bazaar Package Importer
  • Author(s): Christopher Martin
  • Date: 2004-06-13 18:55:04 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040613185504-net8ekxoswwvyxs9
Tags: 1.1.3-1
New upstream release. Translations now included.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Gwenview - A simple image viewer for KDE
3
 
Copyright (C) 2000-2002 Aur�lien G�teau
4
 
 
5
 
This program is free software; you can redistribute it and/or
6
 
modify it under the terms of the GNU General Public License
7
 
as published by the Free Software Foundation; either version 2
8
 
of the License, or (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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
 
 
19
 
*/
20
 
 
21
 
#ifndef BROWSABLEFILEVIEW_H
22
 
#define BROWSABLEFILEVIEW_H
23
 
 
24
 
// Qt includes
25
 
#include <qstring.h>
26
 
 
27
 
/**
28
 
 * This class provides some virtual methods to
29
 
 * handle file view browsing
30
 
 */
31
 
class BrowsableFileView {
32
 
public:
33
 
        virtual void selectFirst()=0;
34
 
        virtual void selectLast()=0;
35
 
        virtual void selectPrevious()=0;
36
 
        virtual void selectNext()=0;
37
 
 
38
 
        virtual QString previousItemText() const =0;
39
 
        virtual QString currentItemText() const =0;
40
 
        virtual QString nextItemText() const =0;
41
 
        virtual bool currentIsFirst() const =0;
42
 
        virtual bool currentIsLast() const =0;
43
 
};
44
 
 
45
 
 
46
 
#endif