tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / libreofficekit / qa / gtktiledviewer / gtv-lok-dialog.hxx
blob2a5bfb5957f8243c7f0e317133c2f7f60b1497ac
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef GTV_LOK_DIALOG_H
11 #define GTV_LOK_DIALOG_H
13 #include <gtk/gtk.h>
15 #include <LibreOfficeKit/LibreOfficeKitGtk.h>
17 G_BEGIN_DECLS
19 #define GTV_TYPE_LOK_DIALOG (gtv_lok_dialog_get_type())
20 #define GTV_LOK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTV_TYPE_LOK_DIALOG, GtvLokDialog))
21 #define GTV_IS_LOK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTV_TYPE_LOK_DIALOG))
22 #define GTV_LOK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTV_TYPE_LOK_DIALOG, GtvLokDialogClass))
23 #define GTV_IS_LOK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTV_TYPE_LOK_DIALOG))
24 #define GTV_LOK_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTV_TYPE_LOK_DIALOG, GtvLokDialogClass))
26 struct GtvLokDialog
28 GtkDialog parent;
31 struct GtvLokDialogClass
33 GtkDialogClass parentClass;
36 GType gtv_lok_dialog_get_type (void) G_GNUC_CONST;
38 GtkWidget* gtv_lok_dialog_new(LOKDocView* pDocView, guint dialogId, guint width, guint height);
40 void gtv_lok_dialog_invalidate(GtvLokDialog* dialog, const GdkRectangle& aRectangle);
42 void gtv_lok_dialog_child_create(GtvLokDialog* dialog, guint childId, guint nX, guint nY, guint width, guint height);
44 void gtv_lok_dialog_child_invalidate(GtvLokDialog* dialog);
46 void gtv_lok_dialog_child_close(GtvLokDialog* dialog);
48 gboolean gtv_lok_dialog_is_parent_of(GtvLokDialog* dialog, guint childId);
50 G_END_DECLS
52 #endif /* GTV_LOK_DIALOG_H */
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */