diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 00:19:26 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 00:19:26 -0600 |
commit | 57443681e97fff553d94260756ebedaee606610f (patch) | |
tree | 9aee5acb23ff14cb454750a03eb3ad1f5bc66c57 /src/field.cpp | |
parent | 71a8a17d6f6d5d95682d1b638d21937bc5a0d54b (diff) | |
download | tellico-57443681e97fff553d94260756ebedaee606610f.tar.gz tellico-57443681e97fff553d94260756ebedaee606610f.zip |
Rename KShared
Diffstat (limited to 'src/field.cpp')
-rw-r--r-- | src/field.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/field.cpp b/src/field.cpp index 858abfd..469d41f 100644 --- a/src/field.cpp +++ b/src/field.cpp @@ -37,7 +37,7 @@ TQRegExp Field::s_delimiter = TQRegExp(TQString::fromLatin1("\\s*;\\s*")); // this constructor is for anything but Choice type Field::Field(const TQString& name_, const TQString& title_, Type type_/*=Line*/) - : KShared(), m_name(name_), m_title(title_), m_category(i18n("General")), m_desc(title_), + : TDEShared(), m_name(name_), m_title(title_), m_category(i18n("General")), m_desc(title_), m_type(type_), m_flags(0), m_formatFlag(FormatNone) { #ifndef NDEBUG @@ -69,13 +69,13 @@ Field::Field(const TQString& name_, const TQString& title_, Type type_/*=Line*/) // if this constructor is called, the type is necessarily Choice Field::Field(const TQString& name_, const TQString& title_, const TQStringList& allowed_) - : KShared(), m_name(name_), m_title(title_), m_category(i18n("General")), m_desc(title_), + : TDEShared(), m_name(name_), m_title(title_), m_category(i18n("General")), m_desc(title_), m_type(Field::Choice), m_allowed(allowed_), m_flags(0), m_formatFlag(FormatNone) { m_id = getID(); } Field::Field(const Field& field_) - : KShared(field_), m_name(field_.name()), m_title(field_.title()), m_category(field_.category()), + : TDEShared(field_), m_name(field_.name()), m_title(field_.title()), m_category(field_.category()), m_desc(field_.description()), m_type(field_.type()), m_flags(field_.flags()), m_formatFlag(field_.formatFlag()), m_properties(field_.propertyList()) { @@ -91,7 +91,7 @@ Field::Field(const Field& field_) Field& Field::operator=(const Field& field_) { if(this == &field_) return *this; - static_cast<KShared&>(*this) = static_cast<const KShared&>(field_); + static_cast<TDEShared&>(*this) = static_cast<const TDEShared&>(field_); m_name = field_.name(); m_title = field_.title(); m_category = field_.category(); |