~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/modules/http/libkvihttp.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-05-18 19:36:33 UTC
  • mfrom: (24.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130518193633-d2caq4677ihxc93h
Tags: 4:4.2.0-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
 
121
121
        if(c->switches()->getAsStringIfExisting('w',"winctrl",tmp))
122
122
        {
123
 
                if(!tmp.contains('h'))hft->invokeTransferWindow(c->window(),tmp.contains('m'),tmp.contains('n'));
 
123
                if(!tmp.contains('h'))
 
124
                        hft->invokeTransferWindow(tmp.contains('m'),tmp.contains('n'));
124
125
        } else {
125
 
                hft->invokeTransferWindow(c->window(),false,false);
 
126
                hft->invokeTransferWindow(false,false);
126
127
        }
127
128
 
128
129
        KviKvsVariant * v = c->switches()->find('i',"identifier");
228
229
                if the window alread exists. The flag 'n' causes the window to be NOT activated (brought to top).
229
230
 
230
231
                !sw: -i=<magic identifier> | --identifier=<magic identifier>
231
 
                This identifier is passed as $3 parameter to the [event]OnHTTPGetTerminated[/event]
 
232
                This identifier is passed as $3 parameter to the [event:OnHTTPGetTerminated]OnHTTPGetTerminated[/event]
232
233
                when this transfer terminates. If this switch is not present then an empty string is used.
233
 
                With [cmd]http.asyngGet[/cmd] this parameter is passed to the callback command instead.
 
234
                With [cmd]http.asyncGet[/cmd] this parameter is passed to the callback command instead.
234
235
 
235
236
                !sw: -p=<post data> | --post-data=<post data>
236
237
                The request is sent in form of a POST request. <post data> is the urlencoded payload of