summaryrefslogtreecommitdiffstats
path: root/konversation/src/dcctransferdetailedinfopanel.h
blob: e6abc0b609c5aa2bf7b4a67a9fe7a11f40e2dbf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
*/

/*
  Copyright (C) 2007 Shintaro Matsuoka <shin@shoegazed.org>
*/

#ifndef DCCTRANSFERDETAILEDINFOPANEL_H
#define DCCTRANSFERDETAILEDINFOPANEL_H

#include "dcctransferdetailedinfopanelui.h"


class TQTimer;

class DccTransfer;
class DccTransferPanelItem;

class DccTransferDetailedInfoPanel : public DccTransferDetailedInfoPanelUI
{
    TQ_OBJECT
  

    public:
        explicit DccTransferDetailedInfoPanel( TQWidget* parent = 0, const char* name = 0 );
        virtual ~DccTransferDetailedInfoPanel();

        void setItem( DccTransferPanelItem* item );

    private slots:
        void updateView();
        void slotTransferStatusChanged( DccTransfer* transfer, int newStatus, int oldStatus );
        void slotLocationChanged( const TQString& url );
        void slotOpenFolderButtonClicked();

    private:
        DccTransferPanelItem* m_item;
        TQTimer* m_autoViewUpdateTimer;
};

#endif  // DCCTRANSFERDETAILEDINFOPANEL_H