Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
camelCase: Converted remaining code that was missed
[xestiacalendar/.git] / source / forms / eventeditor / frmEventEditor.cpp
index f262d6a..79f5831 100644 (file)
@@ -206,11 +206,11 @@ void frmEventEditor::SaveContact(){
        
        // Set the data into the calendar event object.
                
-       eventData.SummaryData = txtEventName->GetValue().ToStdString();
-       eventData.DescriptionList.push_back(txtEventDescription->GetValue().ToStdString());
-       eventData.DescriptionListAltRep.push_back("");
-       eventData.DescriptionListLanguage.push_back("");
-       eventData.DescriptionListTokens.push_back("");
+       eventData.summaryData = txtEventName->GetValue().ToStdString();
+       eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
+       eventData.descriptionListAltRep.push_back("");
+       eventData.descriptionListLanguage.push_back("");
+       eventData.descriptionListTokens.push_back("");
                
        stringstream stringData;
                
@@ -222,8 +222,8 @@ void frmEventEditor::SaveContact(){
        stringData << txtStartTime->GetValue().ToStdString().substr(3, 2).c_str();
        stringData << "00Z";
 
-       eventData.DateTimeStartData = stringData.str();
-       eventData.DateTimeStampData = stringData.str();
+       eventData.dateTimeStartData = stringData.str();
+       eventData.dateTimeStampData = stringData.str();
                
        stringData.str("");
                
@@ -235,7 +235,7 @@ void frmEventEditor::SaveContact(){
        stringData << txtEndTime->GetValue().ToStdString().substr(3, 2).c_str();
        stringData << "00Z";    
 
-       eventData.DateTimeEndData = stringData.str();
+       eventData.dateTimeEndData = stringData.str();
        
        // TODO: Implement Duration.
        
@@ -264,7 +264,7 @@ void frmEventEditor::SaveContact(){
                eventFile += NewUUID;
                eventFile += ".ics";
 
-               eventData.UniqueID = NewUUID;
+               eventData.uniqueID = NewUUID;
 
                // Write the file.
 
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy