File: serial.cpp

package info (click to toggle)
plasma-widget-networkmanagement 0.1~svn1141976-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,812 kB
  • ctags: 3,700
  • sloc: cpp: 28,962; xml: 471; makefile: 21; sh: 16; python: 9
file content (23 lines) | stat: -rw-r--r-- 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// This file is generated by kconfig_compiler from serial.kcfg.
// All changes you do to this file will be lost.

#include "serial.h"

using namespace Knm;

SerialSetting::SerialSetting() : Setting(Setting::Serial), mBaud(115200), mBits(0), mParity(EnumParity::None), mStopbits(0), mSenddelay(0)
{
}

SerialSetting::~SerialSetting()
{
}

QString SerialSetting::name() const
{
  return QLatin1String("serial");
}
bool SerialSetting::hasSecrets() const
{
  return false;
}