diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 15:57:34 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 15:57:34 -0600 |
commit | 7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch) | |
tree | c76702a7f6310fbe9d437e347535422e836e94e9 /kio/tests/kioslavetest.h | |
parent | a2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff) | |
parent | 27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff) | |
download | tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'kio/tests/kioslavetest.h')
-rw-r--r-- | kio/tests/kioslavetest.h | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/kio/tests/kioslavetest.h b/kio/tests/kioslavetest.h deleted file mode 100644 index 02fae7f23..000000000 --- a/kio/tests/kioslavetest.h +++ /dev/null @@ -1,108 +0,0 @@ - /* - This file is or will be part of KDE desktop environment - - Copyright 1999 Matt Koss <koss@miesto.sk> - - It is licensed under GPL version 2. - - If it is part of KDE libraries than this file is licensed under - LGPL version 2. - */ - -#ifndef _KIOSLAVETEST_H -#define _KIOSLAVETEST_H - -#include <tqlabel.h> -#include <tqlineedit.h> -#include <tqradiobutton.h> -#include <tqpushbutton.h> -#include <tqbuttongroup.h> -#include <tqwidget.h> - -#include <kmainwindow.h> - -#include "kio/job.h" -#include "kio/global.h" -#include "kio/statusbarprogress.h" -#include "kio/slave.h" - -class KioslaveTest : public KMainWindow { - Q_OBJECT - -public: - KioslaveTest( TQString src, TQString dest, uint op, uint pr ); - ~KioslaveTest() {} - - enum Operations { List, ListRecursive, Stat, Get, Put, Copy, Move, Delete, Shred, Mkdir, Mimetype }; - - enum ProgressModes { ProgressNone, ProgressDefault, ProgressStatus }; - -protected: - - void closeEvent( TQCloseEvent * ); - - void printUDSEntry( const KIO::UDSEntry & entry ); - - // info stuff - TQLabel *lb_from; - TQLineEdit *le_source; - - TQLabel *lb_to; - TQLineEdit *le_dest; - - // operation stuff - TQButtonGroup *opButtons; - - TQRadioButton *rbList; - TQRadioButton *rbListRecursive; - TQRadioButton *rbStat; - TQRadioButton *rbGet; - TQRadioButton *rbPut; - TQRadioButton *rbCopy; - TQRadioButton *rbMove; - TQRadioButton *rbDelete; - TQRadioButton *rbShred; - TQRadioButton *rbMkdir; - TQRadioButton *rbMimetype; - - // progress stuff - TQButtonGroup *progressButtons; - - TQRadioButton *rbProgressNone; - TQRadioButton *rbProgressDefault; - TQRadioButton *rbProgressStatus; - - TQPushButton *pbStart; - TQPushButton *pbStop; - - TQPushButton *close; - -protected slots: - void changeOperation( int id ); - void changeProgressMode( int id ); - - void startJob(); - void stopJob(); - - void slotResult( KIO::Job * ); - void slotEntries( KIO::Job *, const KIO::UDSEntryList& ); - void slotData( KIO::Job *, const TQByteArray &data ); - void slotDataReq( KIO::Job *, TQByteArray &data ); - - void slotQuit(); - void slotSlaveConnected(); - void slotSlaveError(); - -private: - KIO::Job *job; - TQWidget *main_widget; - - KIO::StatusbarProgress *statusProgress; - - int selectedOperation; - int progressMode; - int putBuffer; - KIO::Slave *slave; -}; - -#endif // _KIOSLAVETEST_H |