Neverendingo (Talk | contribs) m (Text replace - "</code>" to "</syntaxhighlight>") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
<div class="codebox"> | <div class="codebox"> | ||
<div class="codebarbg">Code</div> | <div class="codebarbg">Code</div> | ||
− | < | + | <syntaxhighlight lang="cpp-qt"> |
Plasmagik packager; | Plasmagik packager; | ||
packager.setPackageType(...); | packager.setPackageType(...); | ||
packager.setSomething(); | packager.setSomething(); | ||
packager.show(); | packager.show(); | ||
− | </ | + | </syntaxhighlight> |
</div><noinclude> | </div><noinclude> | ||
or something like that --[[User:Ruphy|Ruphy]] 18:14, 12 March 2007 (CET). | or something like that --[[User:Ruphy|Ruphy]] 18:14, 12 March 2007 (CET). | ||
Line 32: | Line 32: | ||
==== Improvements proposed for this section ==== | ==== Improvements proposed for this section ==== | ||
− | * Rename ProgrammingLanguages --> | + | * Rename ProgrammingLanguages --> content, or such |
* setPackageExtension(QString extension) with mimetype instead of string? | * setPackageExtension(QString extension) with mimetype instead of string? | ||
== Proposed API (networking section) == | == Proposed API (networking section) == | ||
* '''TODO!''' | * '''TODO!''' |
Warning |
---|
Names are just temporary. Infos can be as well. Please don't trust this page as probably most of the things are going to heavily change during this 1 month developement marathone. |
The syntax I'd like to came up with is:
Plasmagik packager;
packager.setPackageType(...);
packager.setSomething();
packager.show();
or something like that --Ruphy 18:14, 12 March 2007 (CET).
Plasmagik inherits QDialog
This task is mostly done, this is the API I came out with: