add more spacing
[personal-kdebase.git] / workspace / kcontrol / kfontinst / viewpart / PreviewSelectAction.h
blobadf75d0c90ef041a14a32e7e6dc4872c79a2a085
1 #ifndef __PREVIEW_SELECT_ACTION_H__
2 #define __PREVIEW_SELECT_ACTION_H__
4 /*
5 * KFontInst - KDE Font Installer
7 * Copyright 2003-2007 Craig Drummond <craig@kde.org>
9 * ----
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.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; see the file COPYING. If not, write to
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA.
27 #include <KDE/KSelectAction>
28 #include "FcEngine.h"
30 namespace KFI
33 class CPreviewSelectAction : public KSelectAction
35 Q_OBJECT
37 public:
39 enum Mode
41 Basic,
42 BlocksAndScripts,
43 ScriptsOnly
46 explicit CPreviewSelectAction(QObject *parent, Mode mode=Basic);
47 virtual ~CPreviewSelectAction() { }
49 void setStd();
50 void setMode(Mode mode);
52 Q_SIGNALS:
54 void range(const QList<CFcEngine::TRange> &range);
56 private Q_SLOTS:
58 void selected(int index);
60 private:
62 int itsNumUnicodeBlocks;
67 #endif