Logo Search packages:      
Sourcecode: kconfigure version File versions  Download package

extractdlg.h

/****************************************************************************
** Form interface generated from reading ui file 'ExtractDlg.ui'
**
** Created: Tue Oct 19 11:49:03 2004
**      by: The User Interface Compiler ()
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef EXTRACTDLG_H
#define EXTRACTDLG_H

#include <qdialog.h>
#include <kurl.h>
#include <kprocess.h>

#include <qvariant.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QTextEdit;
class QLabel;
class QPushButton;
class QButtonGroup;
class QRadioButton;
class KURLRequester;

/**Extract options
  *@author Robert Rockers
  */

00034 class ExtractDlg : public QDialog  {
   Q_OBJECT
public: 
      ExtractDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
      ~ExtractDlg();
      /** Set name of the file */
      void setFile(const KURL &url, const QString &comp);
      /** Set name of the file */
      KURL getFile();
      /** Extract in personal directory */
      QString extractDir();
      /** Extract in current dir */
      bool isCurrentDir();

protected:
      /** Layout Vars autogen by kdeveloper */
00050       QGridLayout* MyDialogLayout;
      QSpacerItem* spacer29;
      QGridLayout* layout6;
      QGridLayout* layout5;
      QSpacerItem* Horizontal_Spacing2;

protected slots:
      /** Layout Functions autogen by kdeveloper */
      void languageChange();
      /** When you click ok, do this stuff first */
      void slotOK();


private:
      QPushButton* buttonOk;
      QPushButton* buttonCancel;
      KShellProcess q;
      QString streamLine;
      QTextEdit* view_extractfiles;
      QLabel* FileName_label;
      QLabel* DirName_label;
      QLabel* textLabel3;
      QLabel* textLabel4;
      QButtonGroup* buttonGroup1;
      QRadioButton* extractDir_radio;
      QRadioButton* extractCurrent_radio;
      /** If we want to extract from either gz or bz we need to know which one */
00077       QString extractCompress;
      KURLRequester* kurlrequest;

      virtual void execute(const char *file);

private slots:
      /** Check radio compress */
      void slotExtractCheck();
      /** No descriptions */
      void slotOutputMessages(KProcess*,char *buffer,int buflen);
      /** No descriptions */
      void slotFinishAction();

};

#endif // ExtractDlg_H

Generated by  Doxygen 1.6.0   Back to index