Typo dans un schema exemple.

Ajout du fichier qelectrotech.xml pour les associations de fichiers


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@441 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2008-11-01 23:01:06 +00:00
parent e226860b7a
commit f84b86e4a4
3 changed files with 21 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<project version="0.1" >
<diagram title="Exemple d'instalation domestique" displayrows="true" cols="15" folio="" displaycols="true" height="340" colsize="50" rows="4" author="Benoît A" filename="Exemples QET" rowsize="80" >
<diagram title="Exemple d'installation domestique" displayrows="true" cols="15" folio="" displaycols="true" height="340" colsize="50" rows="4" author="Benoît A" filename="Exemples QET" rowsize="80" >
<defaultconductor neutral="true" phase="1" ground="true" type="single" />
<elements>
<element x="150" y="220" type="common://protections/disjoncteurs/disjoncteur1.elmt" orientation="0" >

15
misc/qelectrotech.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-qet-project">
<sub-class-of type="text/xml"/>
<comment>QElectroTech project file</comment>
<comment xml:lang="fr">Fichier projet QElectroTech</comment>
<glob pattern="*.qet" />
</mime-type>
<mime-type type="application/x-qet-element">
<sub-class-of type="text/xml"/>
<comment>QElectroTech element file</comment>
<comment xml:lang="fr">Fichier élément QElectroTech</comment>
<glob pattern="*.elmt" />
</mime-type>
</mime-info>

View File

@@ -14,6 +14,7 @@
QET_LICENSE_PATH = 'doc/qelectrotech/'
QET_MIME_XML_PATH = '../share/mime/application/'
QET_MIME_DESKTOP_PATH = '../share/mimelnk/application/'
QET_MIME_PACKAGE_PATH = '../share/mime/packages/'
QET_DESKTOP_PATH = 'share/applications/'
QET_ICONS_PATH = 'share/icons/'
QET_MAN_PATH = 'man/'
@@ -210,6 +211,9 @@ mime_xml.files = misc/x-qet-*.xml
mime_desktop.path = $$join(INSTALL_PREFIX,,,$${QET_MIME_DESKTOP_PATH})
mime_desktop.files = misc/x-qet-*.desktop
mime_package.path = $$join(INSTALL_PREFIX,,,$${QET_MIME_PACKAGE_PATH})
mime_package.files = misc/qelectrotech.xml
desktop.path = $$join(INSTALL_PREFIX,,,$${QET_DESKTOP_PATH})
desktop.files = misc/qelectrotech.desktop
@@ -224,7 +228,7 @@ man.extra = sh man/compress_man_pages.sh
INSTALLS += target elements lang copyright
# Sous Unix, on installe egalement l'icone, un fichier .desktop, des fichiers mime et les pages de manuel
unix {
INSTALLS += desktop mime_xml mime_desktop icons man examples
INSTALLS += desktop mime_xml mime_desktop mime_package icons man examples
}
# Options de compilation