<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>FtpMainWindow</class>
<widget class="QMainWindow">
    <property name="name">
        <cstring>FtpMainWindow</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>600</width>
            <height>480</height>
        </rect>
    </property>
    <property name="caption">
        <string>Ftp client example</string>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QListView" row="1" column="0" rowspan="1" colspan="2">
            <column>
                <property name="text">
                    <string>Name</string>
                </property>
                <property name="clickable">
                    <bool>true</bool>
                </property>
                <property name="resizable">
                    <bool>true</bool>
                </property>
            </column>
            <column>
                <property name="text">
                    <string>Size</string>
                </property>
                <property name="clickable">
                    <bool>true</bool>
                </property>
                <property name="resizable">
                    <bool>true</bool>
                </property>
            </column>
            <column>
                <property name="text">
                    <string>Last Modified</string>
                </property>
                <property name="clickable">
                    <bool>true</bool>
                </property>
                <property name="resizable">
                    <bool>true</bool>
                </property>
            </column>
            <property name="name">
                <cstring>remoteView</cstring>
            </property>
            <property name="showSortIndicator">
                <bool>true</bool>
            </property>
        </widget>
        <widget class="QComboBox" row="0" column="1">
            <property name="name">
                <cstring>remotePath</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>7</hsizetype>
                    <vsizetype>0</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="editable">
                <bool>true</bool>
            </property>
            <property name="duplicatesEnabled">
                <bool>false</bool>
            </property>
        </widget>
        <widget class="QLabel" row="0" column="0">
            <property name="name">
                <cstring>TextLabel4</cstring>
            </property>
            <property name="text">
                <string>&amp;Remote Path:</string>
            </property>
            <property name="buddy" stdset="0">
                <cstring>remotePath</cstring>
            </property>
        </widget>
    </grid>
</widget>
<menubar>
    <property name="name">
        <cstring>menubar</cstring>
    </property>
    <item text="&amp;File" name="fileMenu">
        <action name="fileConnectAction"/>
        <action name="fileDownloadAction"/>
        <action name="fileUploadAction"/>
        <action name="fileRemoveAction"/>
        <separator/>
        <action name="fileExitAction"/>
    </item>
</menubar>
<toolbars>
    <toolbar dock="2">
        <property name="name">
            <cstring>toolBar</cstring>
        </property>
        <property name="label">
            <string>Tools</string>
        </property>
        <action name="fileConnectAction"/>
        <action name="fileDownloadAction"/>
        <action name="fileUploadAction"/>
        <action name="fileRemoveAction"/>
    </toolbar>
</toolbars>
<actions>
    <action>
        <property name="name">
            <cstring>fileDownloadAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>image0</iconset>
        </property>
        <property name="text">
            <string>Download...</string>
        </property>
        <property name="accel">
            <number>0</number>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileExitAction</cstring>
        </property>
        <property name="text">
            <string>Exit</string>
        </property>
        <property name="menuText">
            <string>E&amp;xit</string>
        </property>
        <property name="accel">
            <number>0</number>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileRemoveAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>image1</iconset>
        </property>
        <property name="text">
            <string>Remove</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileUploadAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>image2</iconset>
        </property>
        <property name="text">
            <string>Upload...</string>
        </property>
    </action>
    <action>
        <property name="name">
            <cstring>fileConnectAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>image3</iconset>
        </property>
        <property name="text">
            <string>Connect...</string>
        </property>
    </action>
</actions>
<images>
    <image name="image0">
        <data format="XPM.GZ" length="2477"> </data>
    </image>
    <image name="image1">
        <data format="XPM.GZ" length="721">789ca590c10ac2300c86ef7b8ab2de866c3a0f1ec447503c0ae2214d237a5041e741c477b749376d3bf5e29f16fae7234d4855a8d572ae8a2abb34d0ec51e10eceaab0d7c3e1b6deccee595ed7ca9d891ae5832c2f15aac5e948fcd6eead8722b6c4d68c39d85ab196832db2b5c4c116d81275b586ed56245d3eea3fa25bc504004a6d44a8e31a87003d318c20f8ad43961140d4c733eb5a31080909b28802428224cc5d9d10d79d1100f5894101a64f240fd023922757863169f3c6503cc12befc748f6e6b72363f467f3a274076f2524d47752fe268f69f604fb43a540</data>
    </image>
    <image name="image2">
        <data format="XPM.GZ" length="2461"> </data>
    </image>
    <image name="image3">
        <data format="XPM.GZ" length="2878"> </data>
    </image>
</images>
<connections>
    <connection>
        <sender>fileExitAction</sender>
        <signal>activated()</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>close()</slot>
    </connection>
    <connection>
        <sender>fileDownloadAction</sender>
        <signal>activated()</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>downloadFile()</slot>
    </connection>
    <connection>
        <sender>fileRemoveAction</sender>
        <signal>activated()</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>removeFile()</slot>
    </connection>
    <connection>
        <sender>fileUploadAction</sender>
        <signal>activated()</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>uploadFile()</slot>
    </connection>
    <connection>
        <sender>fileConnectAction</sender>
        <signal>activated()</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>connectToHost()</slot>
    </connection>
    <connection>
        <sender>remotePath</sender>
        <signal>activated(const QString&amp;)</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>changePath(const QString&amp;)</slot>
    </connection>
    <connection>
        <sender>remoteView</sender>
        <signal>doubleClicked(QListViewItem*)</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>changePathOrDownload(QListViewItem*)</slot>
    </connection>
    <connection>
        <sender>remoteView</sender>
        <signal>returnPressed(QListViewItem*)</signal>
        <receiver>FtpMainWindow</receiver>
        <slot>changePathOrDownload(QListViewItem*)</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in implementation">ftpmainwindow.ui.h</include>
</includes>
<forwards>
    <forward>class QFtp;</forward>
    <forward>class QUrlInfo;</forward>
</forwards>
<variables>
    <variable access="private">QFtp *ftp</variable>
    <variable access="private">QLabel *stateFtp</variable>
    <variable access="private">QString currentFtpDir</variable>
</variables>
<slots>
    <slot access="public">connectToHost()</slot>
    <slot access="private">uploadFile()</slot>
    <slot access="private">downloadFile()</slot>
    <slot access="private">removeFile()</slot>
    <slot access="private">changePath( const QString &amp; newPath )</slot>
    <slot access="private">ftp_commandStarted()</slot>
    <slot access="private">ftp_commandFinished()</slot>
    <slot access="private">ftp_done( bool error )</slot>
    <slot access="private">ftp_stateChanged( int state )</slot>
    <slot access="private">ftp_listInfo( const QUrlInfo &amp; i )</slot>
    <slot access="private">ftp_rawCommandReply( int code, const QString &amp; text )</slot>
    <slot access="private">changePathOrDownload(  QListViewItem * )</slot>
</slots>
<functions>
    <function access="private">init()</function>
    <function access="private">destroy()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>
