Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/teacupplugin.cpp
Context not available. | |||||
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
---|---|---|---|---|---|
20 | Lesser General Public License for more details. | 20 | Lesser General Public License for more details. | ||
21 | 21 | | |||
22 | You should have received a copy of the GNU Lesser General Public | 22 | You should have received a copy of `he GNU Lesser General Public | ||
23 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | 23 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
24 | */ | 24 | */ | ||
25 | #include <QString> | 25 | #include <QString> | ||
Context not available. | |||||
45 | qCDebug(TEACUP_PLUGIN) << name() << " plugin loaded!"; | 45 | qCDebug(TEACUP_PLUGIN) << name() << " plugin loaded!"; | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | QByteArray TeacupPlugin::translate(const QString &command) | 48 | QByteArray TeacupPlugin::translate(QString command) | ||
49 | { | 49 | { | ||
50 | QString temp = command; | 50 | QString temp = command; | ||
51 | if (command.contains(QStringLiteral("M109"))) { | 51 | if (command.contains(QStringLiteral("M109"))) { | ||
Context not available. |