From 5159cd2beb2e87806a5b54e9991b7895285c9d3e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:04:16 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kio/tests/kioslavetest.h | 108 ----------------------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 kio/tests/kioslavetest.h (limited to 'kio/tests/kioslavetest.h') diff --git a/kio/tests/kioslavetest.h b/kio/tests/kioslavetest.h deleted file mode 100644 index 79533bbc5..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 - - 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 -#include -#include -#include -#include -#include - -#include - -#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 TDEIO::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( TDEIO::Job * ); - void slotEntries( TDEIO::Job *, const TDEIO::UDSEntryList& ); - void slotData( TDEIO::Job *, const TQByteArray &data ); - void slotDataReq( TDEIO::Job *, TQByteArray &data ); - - void slotQuit(); - void slotSlaveConnected(); - void slotSlaveError(); - -private: - TDEIO::Job *job; - TQWidget *main_widget; - - TDEIO::StatusbarProgress *statusProgress; - - int selectedOperation; - int progressMode; - int putBuffer; - TDEIO::Slave *slave; -}; - -#endif // _KIOSLAVETEST_H -- cgit v1.2.1