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

List:       kde-commits
Subject:    kdereview/ktimechooser
From:       Michael Leupold <lemma () confuego ! org>
Date:       2009-08-25 12:25:50
Message-ID: 1251203150.466314.27271.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1015392 by mleupold:

krazy2 fixes. don't export KTimeValidator (private class).

 M  +2 -2      ktimechooser.cpp  
 M  +1 -1      ktimechooser_p.cpp  
 M  +3 -5      ktimevalidator_p.h  


--- trunk/kdereview/ktimechooser/ktimechooser.cpp #1015391:1015392
@@ -170,7 +170,7 @@
 
 bool KTimeChooser::hasAcceptableInput() const
 {
-    QLineEdit *le = d->m_combobox->lineEdit();
+    QLineEdit *le = d->m_combobox->lineEdit(); // krazy:exclude=qclasses
     if (!d->m_combobox->isEditable() || !le) {
         return true; // not editable
     } else {
@@ -184,7 +184,7 @@
     if (curTime.isValid()) {
         bool changed = (d->m_time != curTime);
         d->m_time = curTime;
-        QLineEdit *le = d->m_combobox->lineEdit();
+        QLineEdit *le = d->m_combobox->lineEdit(); // krazy:exclude=qclasses
         
         // HACK: The problem here is that we want to change the
         //       combobox' current item to the one closest to the
--- trunk/kdereview/ktimechooser/ktimechooser_p.cpp #1015391:1015392
@@ -115,7 +115,7 @@
 void KTimeChooser::Private::updateText()
 {
     int pos = 0;
-    QLineEdit *le = m_combobox->lineEdit();
+    QLineEdit *le = m_combobox->lineEdit(); // krazy:exclude=qclasses
     if (le && m_combobox->isEditable()) {
         pos = le->cursorPosition();
     }
--- trunk/kdereview/ktimechooser/ktimevalidator_p.h #1015391:1015392
@@ -25,8 +25,6 @@
 #include <klocale.h>
 #include <QtGui/QValidator>
 
-#include <kdeui_export.h>
-
 /**
  * @since 4.4
  *
@@ -39,7 +37,7 @@
  * @internal
  * @author Michael Leupold <lemma@confuego.org>
  */
-class KDEUI_EXPORT KTimeValidator : public QValidator
+class KTimeValidator : public QValidator
 {
     Q_OBJECT
     
@@ -92,7 +90,7 @@
     KLocale::TimeFormatOptions formatOptions() const;
 
     /**
-     * Set wether this validator should fixup times automatically or if it should
+     * Set whether this validator should fixup times automatically or if it should
      * just validate given times.
      *
      * @param automatixFixup set to @c true to fixup automatically or @c false
@@ -101,7 +99,7 @@
     void setAutomaticFixup(bool automaticFixup);
 
     /**
-     * Get wether this validator fixes times automatically or if it just serves
+     * Get whether this validator fixes times automatically or if it just serves
      * to validate times.
      *
      * @return @c true if automatic fixup is enabled, @c false if it is disabled
[prev in list] [next in list] [prev in thread] [next in thread] 

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