1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Fix build with gcc 3.4

Noticed by:	pointyhat
This commit is contained in:
Markus Brueffer 2004-08-15 18:18:41 +00:00
parent b628526bfe
commit 6115845fee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116302
4 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- src/dialogs/kickpimcard.cpp.orig Sun Aug 15 19:54:43 2004
+++ src/dialogs/kickpimcard.cpp Sun Aug 15 19:55:32 2004
@@ -309,7 +309,7 @@
if (prefFound) m_content[PHONE]->selectContent( i18n("Preferred Number") );
else if (homeFound) m_content[PHONE]->selectContent( i18n("home phone") );
else m_content[PHONE]->selectContent( i18n(phoneMap.begin().key()) );
-};
+}
void KickPimCard::setAddressContent()
@@ -352,7 +352,7 @@
if (type && KABC::Address::Pref) text+="Pref<br>";
*/
return text;
-};
+}
void KickPimCard::setBirthdayContent ()
{

View File

@ -0,0 +1,29 @@
--- src/kickpimcontactview.cpp.orig Sun Aug 15 20:02:20 2004
+++ src/kickpimcontactview.cpp Sun Aug 15 20:02:52 2004
@@ -111,7 +111,7 @@
setSorting(0);
sort();
setSorting(-1);
-};
+}
void KickPimContactView::onContactsDoubleClick(QListViewItem* qitem)
{
@@ -129,7 +129,7 @@
KickPimContactViewItem* item = 0;
item = new KickPimContactViewItem( this, 0, KickPIM::rep()->displayName(contact) );
item->setContact(contact);
-};
+}
void KickPimContactView::addDistributionList(DistributionList* distList)
{
@@ -137,7 +137,7 @@
KickPimContactViewItem* item = 0;
item = new KickPimContactViewItem( this, lastItem(), "["+distList->name()+"]" );
item->setDistributionList(distList);
-};
+}
int KickPimContactView::preferredHeight()
{

View File

@ -0,0 +1,11 @@
--- src/kpcontactevent.cpp.orig Sun Aug 15 20:05:05 2004
+++ src/kpcontactevent.cpp Sun Aug 15 20:05:18 2004
@@ -24,7 +24,7 @@
m_text = "";
m_date = QDate(25,61,61); // invalid
m_contact = 0;
-};
+}
KPContactEvent::~KPContactEvent()
{

View File

@ -0,0 +1,50 @@
--- src/kpkabcontact.cpp.orig Sun Aug 15 20:07:22 2004
+++ src/kpkabcontact.cpp Sun Aug 15 20:09:00 2004
@@ -240,7 +240,7 @@
{
m_addr->insertEmail(emailAddr, preferred);
}
-};
+}
@@ -255,7 +255,7 @@
++itor;
}
-};
+}
void KPKabContact::addPhoneNumber(QString number, QString key)
{
@@ -270,20 +270,20 @@
}
}
}
-};
+}
void KPKabContact::setBirthday ( QDate date )
{
if (!m_addr) return;
m_addr->setBirthday(date);
-};
+}
void KPKabContact::setAnniversary ( QDate date )
{
if (!m_addr) return;
QString dateStr = date.toString( Qt::ISODate );
m_addr->insertCustom( "KADDRESSBOOK", "X-Anniversary" , dateStr );
-};
+}
bool KPKabContact::edit()
@@ -322,4 +322,4 @@
}
}
KABC::StdAddressBook::save();
-};
+}