qthighway/tests/testapps/testapp2/testapp2.h
changeset 18 1b485afba084
parent 16 19b186e43276
child 28 19321a443c34
equal deleted inserted replaced
16:19b186e43276 18:1b485afba084
     1 /*
       
     2 #
       
     3 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # All rights reserved.
       
     5 #
       
     6 # This program is free software: you can redistribute it and/or modify
       
     7 # it under the terms of the GNU Lesser General Public License as published by
       
     8 # the Free Software Foundation, version 2.1 of the License.
       
     9 #
       
    10 # This program is distributed in the hope that it will be useful,
       
    11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    13 # GNU Lesser General Public License for more details.
       
    14 #
       
    15 # You should have received a copy of the GNU Lesser General Public License
       
    16 # along with this program.  If not,
       
    17 # see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/".
       
    18 #
       
    19 # Description:
       
    20 #
       
    21 */
       
    22 
       
    23 #ifndef T_TEST2_H
       
    24 #define T_TEST2_H
       
    25 
       
    26 #include <QObject>
       
    27 #include <QVariant>
       
    28 #include <QWidget>
       
    29 #include <xqservicerequest.h>
       
    30 #include <QLabel>
       
    31 
       
    32 class TestApp2 : public QWidget
       
    33 {
       
    34 
       
    35 Q_OBJECT
       
    36 public :
       
    37     TestApp2(QWidget *parent = 0, Qt::WFlags f=0 );
       
    38 
       
    39 signals:
       
    40     void again();
       
    41     
       
    42 protected slots:
       
    43 
       
    44     void requestCompleted(const QVariant &data);
       
    45 
       
    46 private slots:    
       
    47 
       
    48     void asyncsend();
       
    49 
       
    50 private:
       
    51     int i;
       
    52     XQServiceRequest* request;
       
    53     QLabel *label;
       
    54 };
       
    55 
       
    56 #endif // T_TEST2_H