Lines 43-49
Link Here
|
43 |
accountingEnabled(false), |
43 |
accountingEnabled(false), |
44 |
volumeAccountingEnabled(false) |
44 |
volumeAccountingEnabled(false) |
45 |
{ |
45 |
{ |
46 |
info1 = new QLabel(i18n("Connected at:"), this); |
46 |
if (gpppdata.get_full_connect_str()) |
|
|
47 |
info1 = new QLabel(i18n("Connection string:"), this); |
48 |
else |
49 |
info1 = new QLabel(i18n("Connected at:"), this); |
47 |
info2 = new QLabel("", this); |
50 |
info2 = new QLabel("", this); |
48 |
|
51 |
|
49 |
timelabel1 = new QLabel(i18n("Time connected:"), this); |
52 |
timelabel1 = new QLabel(i18n("Time connected:"), this); |
Lines 261-271
Link Here
|
261 |
|
264 |
|
262 |
|
265 |
|
263 |
void ConWindow::timeclick() { |
266 |
void ConWindow::timeclick() { |
264 |
QString tooltip = i18n("Connection: %1\n" |
267 |
QString tooltip; |
265 |
"Connected at: %2\n" |
268 |
|
266 |
"Time connected: %3") |
269 |
if (gpppdata.get_full_connect_str()) |
267 |
.arg(gpppdata.accname()).arg(info2->text()) |
270 |
tooltip = i18n("Connection: %1\n" |
268 |
.arg(time_string2); |
271 |
"Connection string: %2\n" |
|
|
272 |
"Time connected: %3") |
273 |
.arg(gpppdata.accname()).arg(info2->text()) |
274 |
.arg(time_string2); |
275 |
else |
276 |
tooltip = i18n("Connection: %1\n" |
277 |
"Connected at: %2\n" |
278 |
"Time connected: %3") |
279 |
.arg(gpppdata.accname()).arg(info2->text()) |
280 |
.arg(time_string2); |
269 |
|
281 |
|
270 |
if(accountingEnabled) |
282 |
if(accountingEnabled) |
271 |
tooltip += i18n("\nSession Bill: %1\nTotal Bill: %2") |
283 |
tooltip += i18n("\nSession Bill: %1\nTotal Bill: %2") |