mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
When XCA started in 2002, there were no C++ initializers. Drop explicit initializers from the constructors. - Fix indentations of section declarators. - Replace NULL by nullptr when feasible. - Sort private section: properties first, then methods.
37 lines
579 B
C++
37 lines
579 B
C++
/* vi: set sw=4 ts=4:
|
|
*
|
|
* Copyright (C) 2023 Christian Hohnstaedt.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef __XCADETAIL_H
|
|
#define __XCADETAIL_H
|
|
|
|
#include <QDialog>
|
|
|
|
class pki_base;
|
|
class ImportMulti;
|
|
|
|
class XcaDetail: public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
pki_base *pki{};
|
|
ImportMulti *importmulti{};
|
|
QPushButton *importbut{};
|
|
void updateNameComment();
|
|
|
|
public:
|
|
XcaDetail(QWidget *w);
|
|
void init(const char *help, const char *img);
|
|
void connect_pki(pki_base *p);
|
|
|
|
public slots:
|
|
void accept();
|
|
void import();
|
|
virtual void itemChanged(pki_base*);
|
|
};
|
|
#endif
|