[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    calendar_support: kdelibs/kdecore
From:       Hans Petter Bieker <bieker () kde ! org>
Date:       2003-01-03 15:06:44
[Download RAW message or body]

CVS commit by bieker: 

moved monthName, monthNamePossessive and weekDayName to the section after
KDE_NO_COMPAT. They are @deprecated.


  M +39 -39    klocale.h   1.133.2.7


--- kdelibs/kdecore/klocale.h  #1.133.2.6:1.133.2.7
@@ -469,43 +469,4 @@ public:
 
   /**
-   * @deprecated
-   *
-   * Returns a string containing the name of the month name.
-   *
-   * @param i the month number of the year starting at 1/January.
-   * @param shortName we will return the short version of the string.
-   *
-   * @return The name of the month
-   */
-  QString monthName(int i, bool shortName = false) const;
-
-  /**
-   * @deprecated
-   *
-   * Returns a string containing the possessive form of the month name.
-   * ("of January", "of February", etc.)
-   * It's needed in long format dates in some languages.
-   *
-   * @param i the month number of the year starting at 1/January.
-   * @param shortName we will return the short version of the string.
-   *
-   * @return The possessive form of the name of the month
-   * @since 3.1
-  */
-  QString monthNamePossessive(int i, bool shortName = false) const;
-
-  /**
-   * @deprecated
-   *
-   * Returns a string containing the name of the week day.
-   *
-   * @param i the day number of the week starting at 1/Monday.
-   * @param shortName we will return the short version of the string.
-   *
-   * @return The name of the day
-   */
-  QString weekDayName(int i, bool shortName = false) const;
-
-  /**
    * Returns a string formated to the current locale's conventions
    * regarding both date and time.
@@ -976,4 +937,43 @@ public:
 private:
 #endif
+  /**
+   * @deprecated
+   *
+   * Returns a string containing the name of the month name.
+   *
+   * @param i the month number of the year starting at 1/January.
+   * @param shortName we will return the short version of the string.
+   *
+   * @return The name of the month
+   */
+  QString monthName(int i, bool shortName = false) const;
+
+  /**
+   * @deprecated
+   *
+   * Returns a string containing the possessive form of the month name.
+   * ("of January", "of February", etc.)
+   * It's needed in long format dates in some languages.
+   *
+   * @param i the month number of the year starting at 1/January.
+   * @param shortName we will return the short version of the string.
+   *
+   * @return The possessive form of the name of the month
+   * @since 3.1
+  */
+  QString monthNamePossessive(int i, bool shortName = false) const;
+
+  /**
+   * @deprecated
+   *
+   * Returns a string containing the name of the week day.
+   *
+   * @param i the day number of the week starting at 1/Monday.
+   * @param shortName we will return the short version of the string.
+   *
+   * @return The name of the day
+   */
+  QString weekDayName(int i, bool shortName = false) const;
+
   /**
    * @deprecated


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic