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

List:       kde-commits
Subject:    kdenonbeta/kdmthemes (silent)
From:       Andy Goossens <andygoossens () pandora ! be>
Date:       2004-03-31 16:17:45
Message-ID: 20040331161745.CD65F990E () office ! kde ! org
[Download RAW message or body]

CVS commit by goossens: 

CVS_SILENT remove warnings


  M +2 -2      kdmthemer.cpp   1.55
  M +8 -2      kdmthemes.cpp   1.4
  M +2 -1      kdmthemesview.cpp   1.4


--- kdenonbeta/kdmthemes/kdmthemer.cpp  #1.54:1.55
@@ -512,6 +512,6 @@ QRect KdmThemer::generateItem(KdmWidget 
         if (newItem) generateItems(newItem,&node);
 
-        //FIXME needs to return QRect!
-
+        //FIXME needs to return a meaningful QRect!
+        return QRect();
 }
 

--- kdenonbeta/kdmthemes/kdmthemes.cpp  #1.3:1.4
@@ -62,4 +62,6 @@ KdmThemes::~KdmThemes()
 void KdmThemes::load(const KURL& url)
 {
+    Q_UNUSED(url)
+
     QString target;
     // the below code is what you should normally do.  in this
@@ -101,7 +103,9 @@ void KdmThemes::setupActions()
     // this doesn't do anything useful.  it's just here to illustrate
     // how to insert a custom menu and menu item
+#if 0
     KAction *custom = new KAction(i18n("Cus&tom Menuitem"), 0,
                                   this, SLOT(optionsPreferences()),
                                   actionCollection(), "custom_action");
+#endif
     createGUI();
 }
@@ -109,18 +113,20 @@ void KdmThemes::setupActions()
 void KdmThemes::saveProperties(KConfig *config)
 {
+    Q_UNUSED(config)
 }
 
 void KdmThemes::readProperties(KConfig *config)
 {
-
+    Q_UNUSED(config)
 }
 
 void KdmThemes::dragEnterEvent(QDragEnterEvent *event)
 {
+    Q_UNUSED(event)
 }
 
 void KdmThemes::dropEvent(QDropEvent *event)
 {
-
+    Q_UNUSED(event)
 }
 

--- kdenonbeta/kdmthemes/kdmthemesview.cpp  #1.3:1.4
@@ -22,4 +22,5 @@ KdmThemesView::KdmThemesView(QWidget *pa
         KdmThemer* themer=new KdmThemer(this);
     
+        Q_UNUSED(themer)
 }
 


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

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