Пример #1
0
 /// <remarks>
 ///  Creates a literal value of type QDateTime (i.e.
 ///  http://www.w3.org/2001/XMLSchema#dateTime)
 ///          </remarks>        <short>    Creates a literal value of type QDateTime (i.</short>
 public LiteralValue(QDateTime datetime)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("LiteralValue#", "LiteralValue(const QDateTime&)", typeof(void), typeof(QDateTime), datetime);
 }
Пример #2
0
 public virtual bool IsDstAtUtc(KTimeZone caller, QDateTime utcDateTime)
 {
     return (bool) interceptor.Invoke("isDstAtUtc##", "isDstAtUtc(const KTimeZone*, const QDateTime&) const", typeof(bool), typeof(KTimeZone), caller, typeof(QDateTime), utcDateTime);
 }
Пример #3
0
 public void SetDateTimeRange(QDateTime min, QDateTime max)
 {
     interceptor.Invoke("setDateTimeRange##", "setDateTimeRange(const QDateTime&, const QDateTime&)", typeof(void), typeof(QDateTime), min, typeof(QDateTime), max);
 }
Пример #4
0
 public QDateTimeEdit(QDateTime dt, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QDateTimeEdit##", "QDateTimeEdit(const QDateTime&, QWidget*)", typeof(void), typeof(QDateTime), dt, typeof(QWidget), parent);
 }
Пример #5
0
 /// <remarks>
 ///  Constructs a date and time selection widget with the initial date and
 ///  time set to <code>datetime.</code>
 ///    </remarks>        <short>    Constructs a date and time selection widget with the initial date and  time set to <code>datetime.</code></short>
 public KDateTimeWidget(QDateTime datetime, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KDateTimeWidget##", "KDateTimeWidget(const QDateTime&, QWidget*)", typeof(void), typeof(QDateTime), datetime, typeof(QWidget), parent);
 }
Пример #6
0
Файл: Qt.cs Проект: KDE/qyoto
 public static QDataStream Write(QDataStream arg1, QDateTime arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QDateTime&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QDateTime), arg2);
 }
Пример #7
0
 public QUrlInfo(QUrl url, int permissions, string owner, string group, long size, QDateTime lastModified, QDateTime lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QUrlInfo#$$$$##$$$$$$", "QUrlInfo(const QUrl&, int, const QString&, const QString&, qint64, const QDateTime&, const QDateTime&, bool, bool, bool, bool, bool, bool)", typeof(void), typeof(QUrl), url, typeof(int), permissions, typeof(string), owner, typeof(string), group, typeof(long), size, typeof(QDateTime), lastModified, typeof(QDateTime), lastRead, typeof(bool), isDir, typeof(bool), isFile, typeof(bool), isSymLink, typeof(bool), isWritable, typeof(bool), isReadable, typeof(bool), isExecutable);
 }
Пример #8
0
 public void SetDateTimeRange(QDateTime min, QDateTime max)
 {
     interceptor.Invoke("setDateTimeRange##", "setDateTimeRange(const QDateTime&, const QDateTime&)", typeof(void), typeof(QDateTime), min, typeof(QDateTime), max);
 }
Пример #9
0
 public virtual void SetLastModified(QDateTime dt)
 {
     interceptor.Invoke("setLastModified#", "setLastModified(const QDateTime&)", typeof(void), typeof(QDateTime), dt);
 }
Пример #10
0
 public void SetLastRead(QDateTime dt)
 {
     interceptor.Invoke("setLastRead#", "setLastRead(const QDateTime&)", typeof(void), typeof(QDateTime), dt);
 }
Пример #11
0
 public QScriptValue NewDate(QDateTime value)
 {
     return((QScriptValue)interceptor.Invoke("newDate#", "newDate(const QDateTime&)", typeof(QScriptValue), typeof(QDateTime), value));
 }
Пример #12
0
 public QVariant(QDateTime datetime) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QVariant#", "QVariant(const QDateTime&)", typeof(void), typeof(QDateTime), datetime);
 }
Пример #13
0
 public string ToString(QDateTime dateTime, string format)
 {
     return((string)interceptor.Invoke("toString#$", "toString(const QDateTime&, const QString&) const", typeof(string), typeof(QDateTime), dateTime, typeof(string), format));
 }
Пример #14
0
 public virtual int OffsetAtZoneTime(KTimeZone caller, QDateTime zoneDateTime, ref int secondOffset)
 {
     StackItem[] stack = new StackItem[4];
     #if DEBUG
     stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(caller);
     #else
     stack[1].s_class = (IntPtr) GCHandle.Alloc(caller);
     #endif
     #if DEBUG
     stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(zoneDateTime);
     #else
     stack[2].s_class = (IntPtr) GCHandle.Alloc(zoneDateTime);
     #endif
     stack[3].s_int = secondOffset;
     interceptor.Invoke("offsetAtZoneTime##$", "offsetAtZoneTime(const KTimeZone*, const QDateTime&, int*) const", stack);
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[1].s_class);
     #else
     ((GCHandle) stack[1].s_class).SynchronizedFree();
     #endif
     #if DEBUG
     DebugGCHandle.Free((GCHandle) stack[2].s_class);
     #else
     ((GCHandle) stack[2].s_class).SynchronizedFree();
     #endif
     secondOffset = stack[3].s_int;
     return stack[0].s_int;
 }
Пример #15
0
 public int SecsTo(QDateTime arg1)
 {
     return((int)interceptor.Invoke("secsTo#", "secsTo(const QDateTime&) const", typeof(int), typeof(QDateTime), arg1));
 }
Пример #16
0
 public QDateTimeEdit(QDateTime dt, QWidget parent) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDateTimeEdit##", "QDateTimeEdit(const QDateTime&, QWidget*)", typeof(void), typeof(QDateTime), dt, typeof(QWidget), parent);
 }
Пример #17
0
 public QDateTime(QDateTime other) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDateTime#", "QDateTime(const QDateTime&)", typeof(void), typeof(QDateTime), other);
 }
Пример #18
0
 protected virtual string TextFromDateTime(QDateTime dt)
 {
     return((string)interceptor.Invoke("textFromDateTime#", "textFromDateTime(const QDateTime&) const", typeof(string), typeof(QDateTime), dt));
 }
Пример #19
0
 public List<QDateTime> TransitionTimes(KTimeZone.Phase phase, QDateTime start)
 {
     return (List<QDateTime>) interceptor.Invoke("transitionTimes##", "transitionTimes(const KTimeZone::Phase&, const QDateTime&) const", typeof(List<QDateTime>), typeof(KTimeZone.Phase), phase, typeof(QDateTime), start);
 }
Пример #20
0
Файл: Qt.cs Проект: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QDateTime arg2)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QDateTime&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QDateTime), arg2);
 }
Пример #21
0
 public LeapSeconds(QDateTime utcTime, int leapSeconds, string comment)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("LeapSeconds#$$", "LeapSeconds(const QDateTime&, int, const QString&)", typeof(void), typeof(QDateTime), utcTime, typeof(int), leapSeconds, typeof(string), comment);
 }
Пример #22
0
 public string ToString(QDateTime dateTime)
 {
     return((string)interceptor.Invoke("toString#", "toString(const QDateTime&) const", typeof(string), typeof(QDateTime), dateTime));
 }
Пример #23
0
 public LeapSeconds(QDateTime utcTime, int leapSeconds)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("LeapSeconds#$", "LeapSeconds(const QDateTime&, int)", typeof(void), typeof(QDateTime), utcTime, typeof(int), leapSeconds);
 }
Пример #24
0
 protected virtual string TextFromDateTime(QDateTime dt)
 {
     return (string) interceptor.Invoke("textFromDateTime#", "textFromDateTime(const QDateTime&) const", typeof(string), typeof(QDateTime), dt);
 }
Пример #25
0
 public string ToString(QDateTime dateTime, QLocale.FormatType format)
 {
     return (string) interceptor.Invoke("toString#$", "toString(const QDateTime&, QLocale::FormatType) const", typeof(string), typeof(QDateTime), dateTime, typeof(QLocale.FormatType), format);
 }
Пример #26
0
 public QDateTimeEdit(QDateTime dt)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QDateTimeEdit#", "QDateTimeEdit(const QDateTime&)", typeof(void), typeof(QDateTime), dt);
 }
Пример #27
0
 public string ToString(QDateTime dateTime)
 {
     return (string) interceptor.Invoke("toString#", "toString(const QDateTime&) const", typeof(string), typeof(QDateTime), dateTime);
 }
Пример #28
0
 /// <remarks>
 ///  Sets the modification time of the file
 ///  Note that this is ignored if a direct copy (SlaveBase.Copy) can be done,
 ///  in which case the mtime of the source is applied to the destination (if the protocol
 ///  supports the concept).
 ///          </remarks>        <short>    Sets the modification time of the file </short>
 public void SetModificationTime(QDateTime mtime)
 {
     interceptor.Invoke("setModificationTime#", "setModificationTime(const QDateTime&)", typeof(void), typeof(QDateTime), mtime);
 }
Пример #29
0
 public string ToString(QDateTime dateTime, string format)
 {
     return (string) interceptor.Invoke("toString#$", "toString(const QDateTime&, const QString&) const", typeof(string), typeof(QDateTime), dateTime, typeof(string), format);
 }
Пример #30
0
 public virtual int OffsetAtUtc(KTimeZone caller, QDateTime utcDateTime)
 {
     return (int) interceptor.Invoke("offsetAtUtc##", "offsetAtUtc(const KTimeZone*, const QDateTime&) const", typeof(int), typeof(KTimeZone), caller, typeof(QDateTime), utcDateTime);
 }
Пример #31
0
 public override QByteArray Abbreviation(QDateTime utcDateTime)
 {
     return (QByteArray) interceptor.Invoke("abbreviation#", "abbreviation(const QDateTime&) const", typeof(QByteArray), typeof(QDateTime), utcDateTime);
 }
Пример #32
0
 public void Append(QDateTime datetime)
 {
     interceptor.Invoke("append#", "append(const QDateTime&)", typeof(void), typeof(QDateTime), datetime);
 }
Пример #33
0
 /// <remarks>
 ///  Constructs a date/time expressed in a given time specification.
 ///  <code>dt</code> is interpreted and stored according to the time specification type
 ///  of <code>spec</code> as follows:
 ///  - <code>UTC</code>           : <code>dt</code> is stored as a UTC value. If
 ///                       <code>dt.timeSpec</code>() is <code>Qt</code>.LocalTime, <code>dt</code> is first
 ///                       converted from the current system time zone to UTC
 ///                       before storage.
 ///  - <code>OffsetFromUTC</code> : date/time is stored as a local time at the specified
 ///                       offset from UTC. If <code>dt.timeSpec</code>() is <code>Qt</code>.UTC,
 ///                       the time is adjusted by the UTC offset before
 ///                       storage. If <code>dt.timeSpec</code>() is <code>Qt</code>.LocalTime,
 ///                       it is assumed to be a local time at the specified
 ///                       offset from UTC, and is stored without adjustment.
 ///  - <code>TimeZone</code>      : if <code>dt</code> is specified as a UTC time (i.e. <code>dt.timeSpec</code>()
 ///                       is <code>Qt</code>.UTC), it is first converted to local time in
 ///                       specified time zone before being stored.
 ///  - <code>LocalZone</code>     : <code>dt</code> is stored as a local time in the current system
 ///                       time zone. If <code>dt.timeSpec</code>() is <code>Qt</code>.UTC, <code>dt</code> is
 ///                       first converted to local time before storage.
 ///  - <code>ClockTime</code>     : If <code>dt.timeSpec</code>() is <code>Qt</code>.UTC, <code>dt</code> is first
 ///                       converted to local time in the current system time zone
 ///                       before storage. After storage, the time is treated as a
 ///                       simple clock time, ignoring time zones.
 /// <param> name="dt" date and time
 /// </param><param> name="spec" time specification
 ///      </param></remarks>        <short>    Constructs a date/time expressed in a given time specification.</short>
 public KDateTime(QDateTime dt, KDateTime.Spec spec)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KDateTime##", "KDateTime(const QDateTime&, const KDateTime::Spec&)", typeof(void), typeof(QDateTime), dt, typeof(KDateTime.Spec), spec);
 }
Пример #34
0
 public QDateTimeEdit(QDateTime dt) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QDateTimeEdit#", "QDateTimeEdit(const QDateTime&)", typeof(void), typeof(QDateTime), dt);
 }
Пример #35
0
 /// <remarks>
 ///  Constructs a date/time from a QDateTime.
 ///  The KDateTime is expressed in either UTC or the local system time zone,
 ///  according to <code>dt.timeSpec</code>().
 /// <param> name="dt" date and time
 ///      </param></remarks>        <short>    Constructs a date/time from a QDateTime.</short>
 public KDateTime(QDateTime dt)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KDateTime#", "KDateTime(const QDateTime&)", typeof(void), typeof(QDateTime), dt);
 }
Пример #36
0
 public void SetDateTime(QDateTime dateTime)
 {
     interceptor.Invoke("setDateTime#", "setDateTime(const QDateTime&)", typeof(void), typeof(QDateTime), dateTime);
 }
Пример #37
0
 public virtual void SetModificationTime(KUrl url, QDateTime mtime)
 {
     interceptor.Invoke("setModificationTime##", "setModificationTime(const KUrl&, const QDateTime&)", typeof(void), typeof(KUrl), url, typeof(QDateTime), mtime);
 }
Пример #38
0
 public void SetDateTime(QDateTime datetime)
 {
     interceptor.Invoke("setDateTime#", "setDateTime(const QDateTime&)", typeof(void), typeof(QDateTime), datetime);
 }
Пример #39
0
 /// <remarks>
 ///  Returns a string formatted to the current locale's conventions
 ///  regarding both date and time.
 /// <param> name="dateTime" the date and time to be formatted
 /// </param><param> name="format" category of date format to use
 /// </param><param> name="options" additional output options
 /// </param></remarks>        <return> The date and time as a string
 ///    </return>
 ///         <short>    Returns a string formatted to the current locale's conventions  regarding both date and time.</short>
 public string FormatDateTime(QDateTime dateTime, KLocale.DateFormat format, bool includeSecs)
 {
     return (string) interceptor.Invoke("formatDateTime#$$", "formatDateTime(const QDateTime&, KLocale::DateFormat, bool) const", typeof(string), typeof(QDateTime), dateTime, typeof(KLocale.DateFormat), format, typeof(bool), includeSecs);
 }
Пример #40
0
 public KDateTimeWidget(QDateTime datetime)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KDateTimeWidget#", "KDateTimeWidget(const QDateTime&)", typeof(void), typeof(QDateTime), datetime);
 }
Пример #41
0
 public string FormatDateTime(QDateTime dateTime, KLocale.DateFormat format)
 {
     return (string) interceptor.Invoke("formatDateTime#$", "formatDateTime(const QDateTime&, KLocale::DateFormat) const", typeof(string), typeof(QDateTime), dateTime, typeof(KLocale.DateFormat), format);
 }
Пример #42
0
Файл: Qt.cs Проект: KDE/qyoto
 public static QDBusArgument Read(QDBusArgument a, QDateTime dt)
 {
     return (QDBusArgument) staticInterceptor.Invoke("operator>>##", "operator>>(const QDBusArgument&, QDateTime&)", typeof(QDBusArgument), typeof(QDBusArgument), a, typeof(QDateTime), dt);
 }
Пример #43
0
 public string FormatDateTime(QDateTime dateTime)
 {
     return (string) interceptor.Invoke("formatDateTime#", "formatDateTime(const QDateTime&) const", typeof(string), typeof(QDateTime), dateTime);
 }
Пример #44
0
Файл: Qt.cs Проект: KDE/qyoto
 public static QDBusArgument Write(QDBusArgument a, QDateTime dt)
 {
     return (QDBusArgument) staticInterceptor.Invoke("operator<<##", "operator<<(QDBusArgument&, const QDateTime&)", typeof(QDBusArgument), typeof(QDBusArgument), a, typeof(QDateTime), dt);
 }
Пример #45
0
 public string ToString(QDateTime dateTime, QLocale.FormatType format)
 {
     return((string)interceptor.Invoke("toString#$", "toString(const QDateTime&, QLocale::FormatType) const", typeof(string), typeof(QDateTime), dateTime, typeof(QLocale.FormatType), format));
 }