You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
3.5 KiB
98 lines
3.5 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.TQMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.TQObject;
|
|
import org.kde.qt.TQEvent;
|
|
import org.kde.qt.TQWidget;
|
|
|
|
/**
|
|
|
|
A Tip-of-the-Day dialog.
|
|
This dialog class presents a tip-of-the-day.
|
|
@author Matthias Hoelzer-Kluepfel <mhk@caldera.de>
|
|
|
|
@short A Tip-of-the-Day dialog.
|
|
|
|
*/
|
|
public class KTipDialog extends KDialog {
|
|
protected KTipDialog(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Construct a tip dialog.
|
|
@param db TipDatabase that should be used by the TipDialog.
|
|
@param parent Parent widget of TipDialog.
|
|
@param name The object name.
|
|
@short Construct a tip dialog.
|
|
*/
|
|
public KTipDialog(KTipDatabase db, TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKTipDialog(db,parent,name);
|
|
}
|
|
private native void newKTipDialog(KTipDatabase db, TQWidget parent, String name);
|
|
public KTipDialog(KTipDatabase db, TQWidget parent) {
|
|
super((Class) null);
|
|
newKTipDialog(db,parent);
|
|
}
|
|
private native void newKTipDialog(KTipDatabase db, TQWidget parent);
|
|
public KTipDialog(KTipDatabase db) {
|
|
super((Class) null);
|
|
newKTipDialog(db);
|
|
}
|
|
private native void newKTipDialog(KTipDatabase db);
|
|
/**
|
|
Shows a tip.
|
|
This static method is all that is needed to add a tip-of-the-day
|
|
dialog to an application. It will pop up the dialog, unless the
|
|
user has asked that the dialog does not pop up on startup.
|
|
Note that you probably want an item in the help menu calling
|
|
this method with force=true.
|
|
@param parent Parent widget of TipDialog.
|
|
@param tipFile The name of the tip file. It has be relative to the "data"
|
|
resource of TDEStandardDirs
|
|
@param force If true, the dialog is show, even when the users
|
|
disabled it.
|
|
@short Shows a tip.
|
|
*/
|
|
public static native void showTip(TQWidget parent, String tipFile, boolean force);
|
|
public static native void showTip(TQWidget parent, String tipFile);
|
|
public static native void showTip(TQWidget parent);
|
|
/**
|
|
Shows a tip
|
|
This method behaves essentially as the one above, but expects a list of tips
|
|
@param parent Parent widget of TipDialog.
|
|
@param tipFiles A List of tip files. Each has be relative to the "data"
|
|
resource of TDEStandardDirs
|
|
@param force If true, the dialog is show, even when the users
|
|
disabled it.
|
|
@short Shows a tip
|
|
*/
|
|
public static native void showMultiTip(TQWidget parent, String[] tipFiles, boolean force);
|
|
public static native void showMultiTip(TQWidget parent, String[] tipFiles);
|
|
/**
|
|
Shows a tip.
|
|
This methods calls showTip() with the applications main window as parent.
|
|
@short Shows a tip.
|
|
*/
|
|
public static native void showTip(String tipFile, boolean force);
|
|
public static native void showTip(String tipFile);
|
|
public static native void showTip();
|
|
/**
|
|
Toggles the start behavior.
|
|
Normally, the user can disable the display of the tip in the dialog.
|
|
This is just a way to change this setting from outside.
|
|
@short Toggles the start behavior.
|
|
*/
|
|
public static native void setShowOnStart(boolean show);
|
|
public native boolean eventFilter(TQObject arg1, TQEvent arg2);
|
|
/** Deletes the wrapped C++ instance */
|
|
protected native void finalize() throws InternalError;
|
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
|
public native void dispose();
|
|
/** Has the wrapped C++ instance been deleted? */
|
|
public native boolean isDisposed();
|
|
}
|