示例#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
文件: KLocale.cs 项目: KDE/kimono
 /// <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
文件: KLocale.cs 项目: KDE/kimono
 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
文件: KLocale.cs 项目: KDE/kimono
 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));
 }