diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ksirc/puke/pbase.pm | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/puke/pbase.pm')
-rw-r--r-- | ksirc/puke/pbase.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/puke/pbase.pm b/ksirc/puke/pbase.pm index b8345cdb..b5b13be7 100644 --- a/ksirc/puke/pbase.pm +++ b/ksirc/puke/pbase.pm @@ -40,19 +40,19 @@ sub rndchr { sub new { my $class = shift; - my $parent = $_[$#_]; + my $tqparent = $_[$#_]; my $self = {}; -# print "Parent: $parent\n"; +# print "Parent: $tqparent\n"; bless($self, $class); - $parent = 0 if($parent == undef); + $tqparent = 0 if($tqparent == undef); $self->{iWinId} = -1; - $self->{Parent} = $parent if $parent != 0; + $self->{Parent} = $tqparent if $tqparent != 0; $self->{initId} = $self->rndchr(); $self->{widgetType} = $PBase::NO_WIDGET; $self->{cmdQueue} = (); @@ -77,13 +77,13 @@ sub create { return; } - my $parent = $self->{Parent} ? $self->{Parent}->{iWinId} : 0; + my $tqparent = $self->{Parent} ? $self->{Parent}->{iWinId} : 0; - # print "*I* Createing widget of type: " . $self->{widgetType} . " with parent " . $parent . "\n"; + # print "*I* Createing widget of type: " . $self->{widgetType} . " with tqparent " . $tqparent . "\n"; $self->{runable} = 1; - my $carg = $parent . "\t" . $self->{widgetType} . "\t" . $self->{initId}; + my $carg = $tqparent . "\t" . $self->{widgetType} . "\t" . $self->{initId}; my %REPLY = $self->sendMessage('iCommand' => $::PUKE_WIDGET_CREATE, 'iWinId' => $::PUKE_CONTROLLER, |