summaryrefslogtreecommitdiffstats
path: root/kandy/src/modem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kandy/src/modem.cpp')
-rw-r--r--kandy/src/modem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kandy/src/modem.cpp b/kandy/src/modem.cpp
index a7d246950..4b085de6a 100644
--- a/kandy/src/modem.cpp
+++ b/kandy/src/modem.cpp
@@ -74,8 +74,8 @@
-Modem::Modem( KandyPrefs *kprefs, TQObject *parent, const char *name ) :
- TQObject(parent, name)
+Modem::Modem( KandyPrefs *kprefs, TQObject *tqparent, const char *name ) :
+ TQObject(tqparent, name)
{
mOpen = false;
@@ -194,7 +194,7 @@ bool Modem::open()
TQCString dev = TQFile::encodeName( (*prefs).serialDevice() );
const char *fdev = dev.data();
if ( ( fd = ::open( fdev, O_RDWR | O_NOCTTY | O_NONBLOCK ) ) == -1 ) {
- emit errorMessage( i18n( "Unable to open device '%1'. "
+ emit errorMessage( i18n( "Unable to open tqdevice '%1'. "
"Please check that you have sufficient permissions." )
.arg( fdev ) );
return false;
@@ -279,7 +279,7 @@ bool Modem::lockDevice()
#ifdef HAVE_LOCKDEV
is_locked = !dev_lock( (*prefs).serialDevice().local8Bit() );
if (!is_locked)
- emit errorMessage( i18n( "Unable to lock device '%1'." ).arg(
+ emit errorMessage( i18n( "Unable to lock tqdevice '%1'." ).arg(
(*prefs).serialDevice() ));
return is_locked;
#else
@@ -322,7 +322,7 @@ bool Modem::lockDevice()
}
if ( !kill( (pid_t) pid, 0 ) ) {
- emit errorMessage( i18n( "Process with PID %1, which is locking the device, is still running.")
+ emit errorMessage( i18n( "Process with PID %1, which is locking the tqdevice, is still running.")
.arg( pid ) );
return false;
}