Commit 70017a2a authored by Rex Dieter's avatar Rex Dieter
Browse files

continued tables -> sheets rename

continue partial fix from fb867ef7d601cac383411cfcfbe8a48c78e91650
parent b5eacb9c
......@@ -33,7 +33,7 @@ install(TARGETS calligragoogledocs DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES googledocs-stage.rc DESTINATION ${DATA_INSTALL_DIR}/stage/kpartplugins)
install( FILES googledocs-sheets.rc DESTINATION ${DATA_INSTALL_DIR}/tables/kpartplugins)
install( FILES googledocs-sheets.rc DESTINATION ${DATA_INSTALL_DIR}/sheets/kpartplugins)
install( FILES googledocs-words.rc DESTINATION ${DATA_INSTALL_DIR}/words/kpartplugins)
......@@ -88,7 +88,7 @@ void GoogleDocumentService::listDocuments()
case OnlineDocument::STAGE:
url = "https://docs.google.com/feeds/default/private/full/-/presentation";
break;
case OnlineDocument::TABLES:
case OnlineDocument::SHEETS:
url = "https://docs.google.com/feeds/default/private/full/-/spreadsheet";
break;
}
......
......@@ -56,8 +56,8 @@ OnlineDocument::OnlineDocument(QObject *parent, const QVariantList &)
m_type = OnlineDocument::WORDS;
} else if (name.contains("stage")) {
m_type = OnlineDocument::STAGE;
} else if (name.contains("tables")) {
m_type = OnlineDocument::TABLES;
} else if (name.contains("sheets")) {
m_type = OnlineDocument::SHEETS;
} else {
m_type = OnlineDocument::UNKNOWN;
}
......
......@@ -31,7 +31,7 @@ public:
enum DocumentType {
WORDS,
STAGE,
TABLES,
SHEETS,
UNKNOWN
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment