summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/dcc_status.pm
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ksirc/puke/dcc_status.pm
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-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/dcc_status.pm')
-rw-r--r--ksirc/puke/dcc_status.pm22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksirc/puke/dcc_status.pm b/ksirc/puke/dcc_status.pm
index 65bc1b07..5101cc58 100644
--- a/ksirc/puke/dcc_status.pm
+++ b/ksirc/puke/dcc_status.pm
@@ -6,7 +6,7 @@
&docommand("/load ptablevw.pm");
&docommand("/load plistbox.pm");
&docommand("/load pbutton.pm");;
-&docommand("/load pboxlayout.pm");
+&docommand("/load pboxtqlayout.pm");
&docommand("/load plabel.pm");
&docommand("/load pbutton.pm");
&docommand("/load ppushbt.pm");
@@ -123,7 +123,7 @@ sub sendClicked {
use vars qw(@ISA $KSIRC_DCC %KSIRC_DCC);
-package DCCStatus;
+package DCCtqStatus;
use vars qw(@ISA);
@ISA = qw(PFrame);
@@ -178,7 +178,7 @@ sub new {
= ( $gm_main, $label, $lb, $button_get, $button_send, $button_forget, $gm_but1, $gm_but2, $button_send );
- print "*I* Finished creating DCCStatus\n";
+ print "*I* Finished creating DCCtqStatus\n";
return $self;
}
@@ -330,7 +330,7 @@ sub hook_ksirc_dcc_request {
my($size) = shift;
my($mwho) = $who;
if($KSIRC_DCCSTATUS == undef){
- $KSIRC_DCCSTATUS = new DCCStatus;
+ $KSIRC_DCCSTATUS = new DCCtqStatus;
$KSIRC_DCCSTATUS->resize(400, 275);
}
@@ -371,7 +371,7 @@ sub hook_ksirc_dcc_send {
$window->setRange(0, $size);
$window->setCaption("$file=>$nick");
$window->setTopText("Sending: $file Size: $size");
- $window->setBotText("Status: pending");
+ $window->setBotText("tqStatus: pending");
$window->setCancel("dcc close send $nick $file");
$KSIRC_DCC{$fh}{$file}{'Window'} = $window;
$KSIRC_DCC{$fh}{$file}{'StartTime'} = time() - 1;
@@ -417,7 +417,7 @@ sub hook_ksirc_dcc_get {
$window->setRange(0, $size);
$window->setCaption("$file<=$nick");
$window->setTopText("Receiver: $file Size: $size");
- $window->setBotText("Status: pending");
+ $window->setBotText("tqStatus: pending");
$window->setCancel("dcc close get $nick $file");
$KSIRC_DCC{$fh}{$file}{'Window'} = $window;
$KSIRC_DCC{$fh}{$file}{'StartTime'} = time() - 1;
@@ -438,7 +438,7 @@ sub hook_ksirc_dcc_get_status {
$window->setRange(0, 1);
$window->setCaption("$file<=$nick");
$window->setTopText("Receiver: $file Size: Unkown");
- $window->setBotText("Status: pending");
+ $window->setBotText("tqStatus: pending");
$window->setCancel("dcc close get $nick $file");
$KSIRC_DCC{$fh}{$file}{'Window'} = $window;
$KSIRC_DCC{$fh}{$file}{'StartTime'} = time() - 1;
@@ -472,14 +472,14 @@ addhook("dcc_disconnect", "ksirc_dcc_disconnect");
-&print("*I* Done DCC Status");
-#$::test = new DCCStatus;
+&print("*I* Done DCC tqStatus");
+#$::test = new DCCtqStatus;
#$::test->resize(400, 275);
#$::test->show();
sub popup_dccstatus{
if($KSIRC_DCCSTATUS == undef){
- $KSIRC_DCCSTATUS = new DCCStatus;
+ $KSIRC_DCCSTATUS = new DCCtqStatus;
$KSIRC_DCCSTATUS->resize(400, 275);
}
$KSIRC_DCCSTATUS->show();
@@ -487,7 +487,7 @@ sub popup_dccstatus{
sub popup_dccsend{
if($KSIRC_DCCSTATUS == undef){
- $KSIRC_DCCSTATUS = new DCCStatus;
+ $KSIRC_DCCSTATUS = new DCCtqStatus;
$KSIRC_DCCSTATUS->resize(400, 275);
}
$KSIRC_DCCSTATUS->sendClicked();