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

List:       kde-commits
Subject:    koffice/kexi/core
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2009-08-09 16:48:55
Message-ID: 1249836535.988183.9946.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1009303 by staniek:

warnings--


 M  +2 -2      KexiView.cpp  
 M  +2 -2      KexiView.h  


--- trunk/koffice/kexi/core/KexiView.cpp #1009302:1009303
@@ -510,7 +510,7 @@
     KexiMainWindowIface::global()->invalidateSharedActions(this);
 }
 
-QAction* KexiView::sharedAction(const char *action_name)
+QAction* KexiView::sharedAction(const QString& action_name)
 {
     if (part()) {
         KActionCollection *ac;
@@ -523,7 +523,7 @@
     return KexiActionProxy::sharedAction(action_name);
 }
 
-void KexiView::setAvailable(const char* action_name, bool set)
+void KexiView::setAvailable(const QString& action_name, bool set)
 {
     if (part()) {
         KActionCollection *ac;
--- trunk/koffice/kexi/core/KexiView.h #1009302:1009303
@@ -118,11 +118,11 @@
      \return shared action with name \a action_name for this view.
      If there's no such action declared in Kexi Part (part()),
      global shared action is returned (if exists). */
-    virtual QAction* sharedAction(const char *action_name);
+    virtual QAction* sharedAction(const QString& action_name);
 
     /*! Enables or disables shared action declared in Kexi Part (part()).
      If there's no such action, global shared action is enabled or disabled (if exists). */
-    virtual void setAvailable(const char* action_name, bool set);
+    virtual void setAvailable(const QString& action_name, bool set);
 
 public slots:
     virtual void setFocus();
[prev in list] [next in list] [prev in thread] [next in thread] 

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