summaryrefslogtreecommitdiffstats
path: root/ksig/siggenerator.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /ksig/siggenerator.cpp
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksig/siggenerator.cpp')
-rw-r--r--ksig/siggenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksig/siggenerator.cpp b/ksig/siggenerator.cpp
index abd2430..42f6141 100644
--- a/ksig/siggenerator.cpp
+++ b/ksig/siggenerator.cpp
@@ -53,7 +53,7 @@ SigGenerator::~SigGenerator()
TQString SigGenerator::random() const
{
if(signatures.count() <= 0)
- return(TQString::null);
+ return(TQString());
int i = KApplication::random() % signatures.count();
TQString text;
@@ -65,7 +65,7 @@ TQString SigGenerator::random() const
TQString SigGenerator::daily() const
{
if(signatures.count() <= 0)
- return(TQString::null);
+ return(TQString());
TQDate date;
int i = date.dayOfYear() % signatures.count();