File kreetingkard-fix-warnings.diff of Package kreetingkard

--- src/kkaddressbook/kkaaddressmanager.h.orig	2005-12-28 00:24:06.000000000 +0100
+++ src/kkaddressbook/kkaaddressmanager.h	2005-12-28 00:24:16.000000000 +0100
@@ -45,7 +45,7 @@
 		virtual bool isEmpty( QString zipcode ){ return zipcode.isEmpty(); }
 		virtual bool available(){ return false; }
 		virtual bool setup( QWidget* parent );
-		virtual QString zipcode2address( QString zipcode ){ return ""; }
+		virtual QString zipcode2address( QString ){ return ""; }
 
 	protected:
 		virtual void readConfig( KConfig* conf );
--- src/kkaddressbook/kkakabc.cpp.orig	2005-12-28 00:25:30.000000000 +0100
+++ src/kkaddressbook/kkakabc.cpp	2005-12-28 00:25:35.000000000 +0100
@@ -96,6 +96,6 @@
 	to->setPreference( from.type() & KABC::Address::Pref );
 }
 
-void KKAKABC::doExport( KKATreeView* tvw )
+void KKAKABC::doExport( KKATreeView* )
 {
 }
--- src/kkaddressbook/kkatreeview.cpp.orig	2005-12-28 00:22:13.000000000 +0100
+++ src/kkaddressbook/kkatreeview.cpp	2005-12-28 00:23:47.000000000 +0100
@@ -197,7 +197,7 @@
 	event->accept( event->format( 0 ) == "application/x-kreetingkard_person" );
 }
 
-void KKATreeView::contentsDragMoveEvent( QDragMoveEvent* event )
+void KKATreeView::contentsDragMoveEvent( QDragMoveEvent* )
 {
 }
 
--- src/kkaddressbook/kkapersondrag.cpp.orig	2005-12-28 00:25:07.000000000 +0100
+++ src/kkaddressbook/kkapersondrag.cpp	2005-12-28 00:26:22.000000000 +0100
@@ -22,7 +22,7 @@
 
 using namespace KKAddressBook;
 
-KKAPersonDrag::KKAPersonDrag( KKAPerson* person, QWidget* parent, const char* name )
+KKAPersonDrag::KKAPersonDrag( KKAPerson* , QWidget* parent, const char* name )
 	: QStoredDrag( "application/x-kreetingkard-person", parent, name )
 {
 }
@@ -32,6 +32,7 @@
 {
 }
 
-bool KKAPersonDrag::canDecode( const QMimeSource* e )
+bool KKAPersonDrag::canDecode( const QMimeSource* )
 {
+    return false;
 }
--- src/kkaddressbook/kkacontactxml.cpp.orig	2005-12-28 00:24:25.000000000 +0100
+++ src/kkaddressbook/kkacontactxml.cpp	2005-12-28 00:24:46.000000000 +0100
@@ -302,7 +302,7 @@
 		QRegExp rx( "^Term(\\d+)$" );
 		if( rx.search( name ) > -1 )
 		{
-			int idx = rx.cap(1).toInt() - 1;
+			size_t idx = rx.cap(1).toInt() - 1;
 			if( idx < KKAHomeAddress::JointNameCount )
 			{
 				data->home()->at( idx )->setSuffix( elem.text() );