blob: 8a9d08974d1ae6d37a75cff948030d54c8c9d3a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright (c) 2012 Tobias Markmann
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <typeinfo>
class QWidget;
namespace Swift {
class QtVCardFieldInfo {
public:
static const int UNLIMITED_INSTANCES = -1;
virtual ~QtVCardFieldInfo() {
}
virtual QString getMenuName() const = 0;
virtual int getAllowedInstances() const = 0;
virtual QWidget* createFieldInstance(QWidget* parent, bool editable) const = 0;
virtual bool testInstance(QWidget*) const = 0;
};
}
|