• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
detailedconsole.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  detailedconsole.cpp - description
3  -------------------
4  begin : Mon Jul 8 2002
5  copyright : (C) 2002 by Jean-Baptiste Mardelle
6  email : bj@altern.org
7  ***************************************************************************/
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 #include "detailedconsole.h"
19 
20 #include <KLocale>
21 #include <KMessageBox>
22 
23 KgpgDetailedInfo::KgpgDetailedInfo(QWidget *parent, const QString &boxLabel, const QString &errormessage,
24  const QStringList &keysList, const QString &caption)
25  : KDialog(parent)
26 {
27  if (!caption.isEmpty())
28  setCaption(caption);
29  else
30  setCaption(i18n("Info"));
31  setButtons(Details | Ok);
32  setDefaultButton(Ok);
33  setModal(true);
34  KMessageBox::createKMessageBox(this, QMessageBox::Information, // krazy:exclude=qtclasses
35  boxLabel, keysList, QString(), NULL, 0, errormessage);
36 }
37 
38 #include "detailedconsole.moc"
QWidget
KDialog
KgpgDetailedInfo::KgpgDetailedInfo
KgpgDetailedInfo(QWidget *parent=0, const QString &boxLabel=QString(), const QString &errormessage=QString(), const QStringList &keysList=QStringList(), const QString &caption=QString())
Definition: detailedconsole.cpp:23
QString::isEmpty
bool isEmpty() const
QString
QStringList
detailedconsole.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal