1
// =============================================================================
3
// --- kvi_fontdialog_kde.cpp ---
5
// This file is part of the KVIrc IRC client distribution
6
// Copyright (C) 2003 Robin Verduijn <robin@debian.org>
8
// This program is FREE software. You can redistribute it and/or
9
// modify it under the terms of the GNU General Public License
10
// as published by the Free Software Foundation; either version 2
11
// of the License, or (at your opinion) any later version.
13
// This program is distributed in the HOPE that it will be USEFUL,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
// See the GNU General Public License for more details.
18
// You should have received a copy of the GNU General Public License
19
// along with this program. If not, write to the Free Software Foundation,
20
// Inc, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
// =============================================================================
24
#define _KVI_DEBUG_CHECK_RANGE_
25
#define _KVI_DEBUG_CLASS_NAME_ "KviFontDialog"
27
#include <kfontdialog.h>
29
bool kvi_selectFont(QFont &fnt)
31
return (KFontDialog::getFont(fnt) == KFontDialog::Accepted);