• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • ui
  • metalinkcreator
dragdlg.h
Go to the documentation of this file.
1 /***************************************************************************
2 * Copyright (C) 2009 Matthias Fuchs <mat69@gmx.net> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
18 ***************************************************************************/
19 
20 #ifndef DRAGDLG_H
21 #define DRAGDLG_H
22 
23 #include "../../core/basedialog.h"
24 #include "ui_dragdlg.h"
25 #include "ui_commondata.h"
26 
27 class QCheckBox;
28 class QSortFilterProxyModel;
29 class UrlWidget;
30 
31 namespace KGetMetalink
32 {
33  class CommonData;
34  class Resources;
35 }
36 
37 class DragDlg : public KGetSaveSizeDialog
38 {
39  Q_OBJECT
40 
41  public:
42  DragDlg(KGetMetalink::Resources *resources, KGetMetalink::CommonData *commonData, QSortFilterProxyModel *countrySort, QSortFilterProxyModel *languageSort, QWidget *parent = 0);
43 
44  signals:
49  void usedTypes(const QStringList &types, bool createPartial);
50 
51  private slots:
55  void slotFinished();
56 
57  private:
58  UrlWidget *m_urlWidget;
59  KGetMetalink::Resources *m_resources;
60  KGetMetalink::CommonData *m_commonData;
61  QList<QCheckBox*> m_checkBoxes;
62  Ui::DragDlg ui;
63  Ui::CommonData uiData;
64 };
65 
66 #endif
DragDlg::usedTypes
void usedTypes(const QStringList &types, bool createPartial)
The types the user want to be checked and if partial checksums should be created. ...
UrlWidget
Definition: urlwidget.h:36
QWidget
DragDlg
Definition: dragdlg.h:37
KGetMetalink::CommonData
Files, File and Metadata contain this Metadata not as member and only for compatibility.
Definition: metalinker.h:93
KGetSaveSizeDialog
Subclass to make sure that the size of the dialog is automatically stored and restored.
Definition: basedialog.h:32
QSortFilterProxyModel
DragDlg::DragDlg
DragDlg(KGetMetalink::Resources *resources, KGetMetalink::CommonData *commonData, QSortFilterProxyModel *countrySort, QSortFilterProxyModel *languageSort, QWidget *parent=0)
Definition: dragdlg.cpp:29
KGetMetalink::Resources
Definition: metalinker.h:190
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal