Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/scripting/kexidb/kexidbfieldlist.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 67 | public Q_SLOTS: | |||
---|---|---|---|---|---|
71 | /** Return the \a KexiDBField specified by the index-number passed as an argument. */ | 71 | /** Return the \a KexiDBField specified by the index-number passed as an argument. */ | ||
72 | QObject* field(int index); | 72 | QObject* field(int index); | ||
73 | /** Return the \a KexiDBField specified by the as an argument passed fieldname. */ | 73 | /** Return the \a KexiDBField specified by the as an argument passed fieldname. */ | ||
74 | QObject* fieldByName(const QString& name); | 74 | QObject* fieldByName(const QString& name); | ||
75 | 75 | | |||
76 | /** Returns true if the passed \a KexiDBField \p field object is in the field list. */ | 76 | /** Returns true if the passed \a KexiDBField \p field object is in the field list. */ | ||
77 | bool hasField(QObject* field); | 77 | bool hasField(QObject* field); | ||
78 | /** Return a list of field names. */ | 78 | /** Return a list of field names. */ | ||
79 | const QStringList names() const; | 79 | QStringList names() const; | ||
80 | 80 | | |||
81 | /** Adds the \a KexiDBField object passed as an argument to the field list. */ | 81 | /** Adds the \a KexiDBField object passed as an argument to the field list. */ | ||
82 | bool addField(QObject* field); | 82 | bool addField(QObject* field); | ||
83 | /** Inserts the \a KexiDBField object passed as the second argument | 83 | /** Inserts the \a KexiDBField object passed as the second argument | ||
84 | into the field list at the position defined by the first argument. */ | 84 | into the field list at the position defined by the first argument. */ | ||
85 | bool insertField(int index, QObject* field); | 85 | bool insertField(int index, QObject* field); | ||
86 | /** Removes the \a KexiDBField object passed as an argument from the field list. */ | 86 | /** Removes the \a KexiDBField object passed as an argument from the field list. */ | ||
87 | bool removeField(QObject* field); | 87 | bool removeField(QObject* field); | ||
Show All 18 Lines |