diff options
Diffstat (limited to 'python/pykde/sip/kdeui/kmessagebox.sip')
-rw-r--r-- | python/pykde/sip/kdeui/kmessagebox.sip | 260 |
1 files changed, 0 insertions, 260 deletions
diff --git a/python/pykde/sip/kdeui/kmessagebox.sip b/python/pykde/sip/kdeui/kmessagebox.sip deleted file mode 100644 index 597137bf..00000000 --- a/python/pykde/sip/kdeui/kmessagebox.sip +++ /dev/null @@ -1,260 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module kdeui version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KMessageBox -{ -%TypeHeaderCode -#include <kmessagebox.h> -%End - - -public: - - enum ButtonCode - { - Ok, - Cancel, - Yes, - No, - Continue - }; - - - enum DialogType - { - QuestionYesNo, - WarningYesNo, - WarningContinueCancel, - WarningYesNoCancel, - Information, - Sorry, - Error, - QuestionYesNoCancel - }; - - -%If ( KDE_3_4_0 - ) - - enum OptionsType - { - Notify, - AllowLink, - Dangerous, - PlainCaption, - NoExec - }; - -%End - - static int questionYesNo (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int questionYesNoWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static int questionYesNoCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int questionYesNoCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static int questionYesNoList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int questionYesNoListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static int warningYesNo (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningYesNoWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); - static int warningYesNoList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); - static int warningYesNoListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify |Dangerous ); -%End - - static int warningContinueCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningContinueCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_1_0 - ) - static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningContinueCancelListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::cont (), const QString& = QString ::null , int = Notify ); -%End - -%End - - static int warningYesNoCancel (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static int warningYesNoCancelWId (WId, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - static int warningYesNoCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); - static int warningYesNoCancelListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - static void error (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void errorWId (WId, const QString&, const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_4_0 - ) - static void errorList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , int = Notify ); - static void errorListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , int = Notify ); -%End - -%End - - static void detailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void detailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify ); -%End - - static void queuedDetailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - static void queuedDetailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null ); -%End - - static void sorry (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void sorryWId (WId, const QString&, const QString& = QString ::null , int = Notify ); -%End - - static void detailedSorry (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void detailedSorryWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify ); -%End - - static void information (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static void informationWId (WId, const QString&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_1_0 - ) - static void informationList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); - -%If ( KDE_3_2_0 - ) - static void informationListWId (WId, const QString&, const QStringList&, const QString& = QString ::null , const QString& = QString ::null , int = Notify ); -%End - -%End - - static void enableAllMessages (); - -%If ( KDE_3_2_0 - ) - static void enableMessage (const QString&); -%End - - static void about (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1); - -%If ( KDE_3_2_0 - ) - static int messageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, int = Notify ); -%End - - static int messageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), int = Notify ); - -%If ( KDE_3_2_0 - ) - static int messageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString& = QString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_1_0 - ) - static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, int); - -%If ( KDE_3_2_0 - ) - static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString&, int); -%End - -%End - - static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null ); - -%If ( KDE_3_2_0 - ) - static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString& = QString ::null ); - static bool shouldBeShownYesNo (const QString&, KMessageBox::ButtonCode&); - static bool shouldBeShownContinue (const QString&); - static void saveDontShowAgainYesNo (const QString&, KMessageBox::ButtonCode); - static void saveDontShowAgainContinue (const QString&); - static void setDontShowAskAgainConfig (KConfig*); - -%If ( KDE_3_3_0 - ) - static int createKMessageBox (KDialogBase*, QMessageBox::Icon, const QString&, const QStringList&, const QString&, bool*, int, const QString& = QString ::null ); - static int createKMessageBox (KDialogBase*, QPixmap, const QString&, const QStringList&, const QString&, bool*, int, const QString& = QString ::null , QMessageBox::Icon = QMessageBox ::Information ); -%End - -%End - - -public: - -%If ( KDE_3_2_0 - KDE_3_4_0 ) - - enum OptionsType - { - Notify, - AllowLink, - Dangerous - }; - -%End - - -public: - -%If ( - KDE_3_2_0 ) - - enum OptionsType - { - Notify, - AllowLink - }; - -%End - - -public: - -%If ( - KDE_3_0_3 ) -//ig static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = QString ::null , const QString& = QString ::null , int = Notify ); -%End - - -%If ( KDE_3_0_3 - KDE_3_1_0 ) - static int warningContinueCancelList (QWidget* /Transfer/, const QString&, const QStringList&, const QString& = QString ::null , const KGuiItem& = KGuiItem (), const QString& = QString ::null , int = Notify ); -%End - - -}; // class KMessageBox - |