~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to parts/bookmarks/bookmarks_config.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2003 by Jens Dagerbo                                    *
3
 
 *   jens.dagerbo@swipnet.se                                               *
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
 
 ***************************************************************************/
11
 
 
12
 
#ifndef BOOKMARKS_CONFIG_H
13
 
#define BOOKMARKS_CONFIG_H
14
 
 
15
 
/**
16
 
@author KDevelop Authors
17
 
*/
18
 
class BookmarksConfig
19
 
{
20
 
 
21
 
public:
22
 
        
23
 
        enum CodeLineType { Never = 0, Token, Always };
24
 
        
25
 
        BookmarksConfig();
26
 
    ~BookmarksConfig();
27
 
        
28
 
    bool toolTip();
29
 
    void setToolTip( bool );
30
 
        
31
 
        CodeLineType codeline();
32
 
        void setCodeline( CodeLineType );
33
 
        
34
 
    unsigned int context();
35
 
    void setContext( unsigned int );
36
 
 
37
 
        QString token();
38
 
        void setToken( QString const & );
39
 
            
40
 
        void readConfig();
41
 
    void writeConfig();
42
 
        
43
 
private:
44
 
        bool _tooltip;
45
 
        CodeLineType _codeline;
46
 
        unsigned int _context;
47
 
        QString _token;
48
 
 
49
 
};
50
 
 
51
 
#endif
52
 
 
53
 
// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off;