• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdenewstuff
 

tdenewstuff

  • tdenewstuff
uploaddialog.h
1/*
2 This file is part of KOrganizer.
3 Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
19*/
20#ifndef KNEWSTUFF_UPLOADDIALOG_H
21#define KNEWSTUFF_UPLOADDIALOG_H
22
23#include <kdialogbase.h>
24
25class TQLineEdit;
26class TQSpinBox;
27class KURLRequester;
28class TQTextEdit;
29class TQComboBox;
30
31namespace KNS {
32
33class Engine;
34class Entry;
35
47class UploadDialog : public KDialogBase
48{
49 TQ_OBJECT
50 public:
57 UploadDialog( Engine *engine, TQWidget *parent );
58
62 ~UploadDialog();
63
70 void setPreviewFile( const TQString &previewFile );
71
79 void setPayloadFile( const TQString &payloadFile );
80
81 protected slots:
82 void slotOk();
83
84 private:
85 Engine *mEngine;
86
87 TQLineEdit *mNameEdit;
88 TQLineEdit *mAuthorEdit;
89 TQLineEdit *mEmailEdit;
90 TQLineEdit *mVersionEdit;
91 TQSpinBox *mReleaseSpin;
92 KURLRequester *mPreviewUrl;
93 TQTextEdit *mSummaryEdit;
94 TQComboBox *mLanguageCombo;
95 TQComboBox *mLicenceCombo;
96
97 TQPtrList<Entry> mEntryList;
98 KURL mPayloadUrl;
99};
100
101}
102
103#endif
KNS::Engine
Central class combining all possible TDENewStuff operations.
Definition: engine.h:53
KNS::UploadDialog
TDENewStuff file upload dialog.
Definition: uploaddialog.h:48
KNS::UploadDialog::~UploadDialog
~UploadDialog()
Destructor.
Definition: uploaddialog.cpp:113
KNS::UploadDialog::setPayloadFile
void setPayloadFile(const TQString &payloadFile)
Sets the payload filename.
Definition: uploaddialog.cpp:163
KNS::UploadDialog::UploadDialog
UploadDialog(Engine *engine, TQWidget *parent)
Constructor.
Definition: uploaddialog.cpp:46
KNS::UploadDialog::setPreviewFile
void setPreviewFile(const TQString &previewFile)
Sets the preview filename.
Definition: uploaddialog.cpp:158
KNS
Handles security releated issues, like signing, verifying.
Definition: downloaddialog.h:37

tdenewstuff

Skip menu "tdenewstuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdenewstuff

Skip menu "tdenewstuff"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdenewstuff by doxygen 1.9.4
This website is maintained by Timothy Pearson.