You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/doc/classref/kdecore/KCalendarSystem.html

307 lines
18 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class KCalendarSystem</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="wabbit dumphtml">
</head>
<body>
<h4>PyKDE - Python Bindings for KDE</h4>
<hr>
<table width="100%"><tr>
<td width ="70%">
<h1>class KCalendarSystem</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
<tr><td align="right"><a href="index.html">kdecore Classes</a></td></tr>
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
</table>
</td>
</tr></table>
<table>
<tr><td width="10%" align=left>Module</td>
<td width="30%" align=left>kdecore</td>
</tr>
<tr><td>Class</td>
<td>KCalendarSystem <a href = "sip/glossary.html#abstract">(<i>abstract</i>)</a></td>
</tr>
<tr><td>Inherits</td>
<td> </td>
</tr>
</table>
<h3>methods</h3><ul>
<li><b>KCalendarSystem</b> (locale = 0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KCalendarSystem instance</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>locale</td><td>KLocale</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>addDays</b> (date, ndays) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QDate)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>ndays</td><td>int</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>addMonths</b> (date, nmonths) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QDate)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>nmonths</td><td>int</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>addYears</b> (date, nyears) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QDate)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>nyears</td><td>int</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>calendarName</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>day</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dayOfWeek</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dayOfYear</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dayString</b> (pDate, bShort)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>pDate</td><td>QDate</td><td></td></tr>
<tr><td>bShort</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dayStringToInteger</b> (sNum)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int) iLength (int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>sNum</td><td>QString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>daysInMonth</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>daysInYear</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>isLunar</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>isLunisolar</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>isSolar</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>locale</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KLocale)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>maxValidYear</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>minValidYear</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>month</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthName</b> (month, year, shortName = 0) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>month</td><td>int</td><td></td></tr>
<tr><td>year</td><td>int</td><td></td></tr>
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthName</b> (date, shortName = 0) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthNamePossessive</b> (month, year, shortName = 0) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>month</td><td>int</td><td></td></tr>
<tr><td>year</td><td>int</td><td></td></tr>
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthNamePossessive</b> (date, shortName = 0) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthString</b> (pDate, bShort)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>pDate</td><td>QDate</td><td></td></tr>
<tr><td>bShort</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthStringToInteger</b> (sNum)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int) iLength (int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>sNum</td><td>QString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>monthsInYear</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setYMD</b> (date, y, m, d) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>y</td><td>int</td><td></td></tr>
<tr><td>m</td><td>int</td><td></td></tr>
<tr><td>d</td><td>int</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>weekDayName</b> (weekDay, shortName = 0) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>weekDay</td><td>int</td><td></td></tr>
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>weekDayName</b> (date, shortName = 0) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
<tr><td>shortName</td><td>bool</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>weekDayOfPray</b> () = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>weekNumber</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int) yearNum (int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>weeksInYear</b> (year) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>year</td><td>int</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>year</b> (date) = 0
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><a href = "../glossary.html#purevirtual"><i>pure virtual</i></a></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>date</td><td>QDate</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>yearString</b> (pDate, bShort)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>pDate</td><td>QDate</td><td></td></tr>
<tr><td>bShort</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>yearStringToInteger</b> (sNum)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int) iLength (int)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>sNum</td><td>QString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
</ul>
</body>
</html>