~ubuntu-branches/ubuntu/wily/fqterm/wily

« back to all changes in this revision

Viewing changes to src/common/fqterm_param.cpp

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2010-03-21 22:22:34 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100321222234-x9cl852sd6ghcg7f
Tags: 0.9.6.8-1
* new upstream release.
* debian/control: bump standards version to 3.8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  isAutoReconnect_ = false;
81
81
  reconnectInterval_ = 3;
82
82
  retryTimes_ = 0;
 
83
  isAutoCloseWin_ = false;
83
84
  isAutoLoadScript_ = false;
84
85
  enableZmodem_ = true;
85
86
  autoLoadedScriptFileName_ = "";
105
106
FQTermParam::~FQTermParam(){}
106
107
 
107
108
FQTermParam &FQTermParam::operator = (const FQTermParam &param) {
 
109
  if (this == &param)
 
110
      return *this;
108
111
  copy(param);
109
112
  return  *this;
110
113
}
165
168
  isAutoReconnect_ = param.isAutoReconnect_;
166
169
  reconnectInterval_ = param.reconnectInterval_;
167
170
  retryTimes_ = param.retryTimes_;
 
171
  isAutoCloseWin_ = param.isAutoCloseWin_;
168
172
  isAutoLoadScript_ = param.isAutoLoadScript_;
169
173
  enableZmodem_ = param.enableZmodem_;
170
174
  autoLoadedScriptFileName_ = param.autoLoadedScriptFileName_;
233
237
  if (isAutoReconnect_ != param.isAutoReconnect_) return false;
234
238
  if (reconnectInterval_ != param.reconnectInterval_) return false;
235
239
  if (retryTimes_ != param.retryTimes_) return false;
 
240
  if (isAutoCloseWin_ != param.isAutoCloseWin_) return false;
236
241
  if (isAutoLoadScript_ != param.isAutoLoadScript_) return false;
237
242
  if (enableZmodem_ != param.enableZmodem_) return false;
238
243
  if (isBuzz_ != param.isBuzz_) return false;
250
255
QString FQTermParam::getLanguageName(bool isEnglish)
251
256
{
252
257
  if (isEnglish) {
253
 
    return QString(QObject::tr("English"));
 
258
    return QString(QObject::tr("&English"));
254
259
  }
255
 
  return QString(QObject::tr("Non-English"));
 
260
  return QString(QObject::tr("&Non-English"));
256
261
}
257
262
 
258
263
const FQTermParam& FQTermParam::getFQBBSParam() {