~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to plugins/texteffect/texteffectconfig.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    texteffectconfig.h
 
3
 
 
4
    Copyright (c) 2003      by Olivier Goffart       <ogoffart@kde.org>
 
5
    Copyright (c) 2003      by Matt Rogers           <matt@matt.rogers.name>
 
6
 
 
7
    Kopete    (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
 
8
 
 
9
    *************************************************************************
 
10
    *                                                                       *
 
11
    * This program is free software; you can redistribute it and/or modify  *
 
12
    * it under the terms of the GNU General Public License as published by  *
 
13
    * the Free Software Foundation; either version 2 of the License, or     *
 
14
    * (at your option) any later version.                                   *
 
15
    *                                                                       *
 
16
    *************************************************************************
 
17
*/
 
18
 
 
19
#ifndef TEXTEFFECTCONFIG_H
 
20
#define TEXTEFFECTCONFIG_H
 
21
 
 
22
#include <QStringList>
 
23
 
 
24
class TextEffectConfig
 
25
{
 
26
public:
 
27
        TextEffectConfig();
 
28
 
 
29
        void load();
 
30
        void save();
 
31
 
 
32
        //accessor functions
 
33
        QStringList colors() const;
 
34
        bool colorLines() const;
 
35
        bool colorWords() const;
 
36
        bool colorChar() const;
 
37
        bool colorRandom() const;
 
38
        bool lamer() const;
 
39
        bool waves() const;
 
40
 
 
41
        void setColors(const QStringList &newColors = QStringList());
 
42
        void setColorLines(bool newLines);
 
43
        void setColorChar(bool newChar);
 
44
        void setColorWords(bool newWords);
 
45
        void setColorRandom(bool newRandom);
 
46
        void setLamer(bool newLamer);
 
47
        void setWaves(bool newWaves);
 
48
    QStringList defaultColorList();
 
49
 
 
50
 
 
51
private:
 
52
        QStringList mColors;
 
53
        bool mColorLines;
 
54
        bool mColorWords;
 
55
        bool mColorChar;
 
56
        bool mColorRandom;
 
57
        bool mLamer;
 
58
        bool mWaves;
 
59
 
 
60
};
 
61
 
 
62
#endif