summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/cupsinfos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/cupsinfos.cpp')
-rw-r--r--kdeprint/cups/cupsinfos.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/cups/cupsinfos.cpp b/kdeprint/cups/cupsinfos.cpp
index 78bbeb458..5c967d7b8 100644
--- a/kdeprint/cups/cupsinfos.cpp
+++ b/kdeprint/cups/cupsinfos.cpp
@@ -58,9 +58,9 @@ CupsInfos::CupsInfos()
load();
/* host_ = cupsServer();
login_ = cupsUser();
- if (login_.isEmpty()) login_ = TQString::null;
+ if (login_.isEmpty()) login_ = TQString();
port_ = ippPort();
- password_ = TQString::null;*/
+ password_ = TQString();*/
cupsSetPasswordCB(cupsGetPasswordCB);
}
@@ -106,7 +106,7 @@ void CupsInfos::setSavePassword( bool on )
const char* CupsInfos::getPasswordCB()
{
- QPair<TQString,TQString> pwd = KMFactory::self()->requestPassword( count_, login_, host_, port_ );
+ TQPair<TQString,TQString> pwd = KMFactory::self()->requestPassword( count_, login_, host_, port_ );
if ( pwd.first.isEmpty() && pwd.second.isEmpty() )
return NULL;
@@ -129,8 +129,8 @@ void CupsInfos::load()
KMFactory::self()->initPassword( login_, password_, host_, port_ );
}
else
- password_ = TQString::null;
- if (login_.isEmpty()) login_ = TQString::null;
+ password_ = TQString();
+ if (login_.isEmpty()) login_ = TQString();
reallogin_ = cupsUser();
// synchronize with CUPS