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

List:       kde-commits
Subject:    branches/work/unity/WebKit/WebCore/platform/qt
From:       Laurent Montel <montel () kde ! org>
Date:       2006-08-04 22:22:55
Message-ID: 1154730175.189236.20247.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 569828 by mlaurent:

Fix some warning


 M  +7 -1      TextEditQt.cpp  


--- branches/work/unity/WebKit/WebCore/platform/qt/TextEditQt.cpp #569827:569828
@@ -96,6 +96,7 @@
 bool PlatformTextEdit::isReadOnly() const
 {
     notImplemented();
+    return false;
 }
 
 void PlatformTextEdit::setDisabled(bool)
@@ -106,11 +107,13 @@
 bool PlatformTextEdit::isDisabled() const
 {
     notImplemented();
+    return false;
 }
 
 bool PlatformTextEdit::hasSelectedText() const
 {
     notImplemented();
+    return false;
 }
 
 void PlatformTextEdit::setText(const WebCore::String&)
@@ -130,7 +133,7 @@
 
 Widget::FocusPolicy PlatformTextEdit::focusPolicy() const
 {
-    notImplemented();
+    return Widget::focusPolicy();
 }
 
 void PlatformTextEdit::setWordWrap(PlatformTextEdit::WrapStyle)
@@ -156,11 +159,13 @@
 int PlatformTextEdit::selectionStart()
 {
     notImplemented();
+    return 0;
 }
 
 int PlatformTextEdit::selectionEnd()
 {
     notImplemented();
+    return 0;
 }
 
 void PlatformTextEdit::setSelectionStart(int)
@@ -191,6 +196,7 @@
 bool PlatformTextEdit::checksDescendantsForFocus() const
 {
     notImplemented();
+    return false;
 }
 
 // vim: ts=4 sw=4 et
[prev in list] [next in list] [prev in thread] [next in thread] 

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