kontact
Go to the documentation of this file.
23 #ifndef KONTACT_MAINWINDOW_H
24 #define KONTACT_MAINWINDOW_H
28 #include <KontactInterface/Core>
30 namespace KontactInterface {
37 class KSqueezedTextLabel;
54 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.kontact.KontactInterface" )
61 void setInitialActivePluginModule(
const QString & );
63 static bool pluginActionWeightLessThan(
const QAction *left,
const QAction *right );
64 static bool pluginWeightLessThan(
const KontactInterface::Plugin *left,
65 const KontactInterface::Plugin *right );
68 virtual void selectPlugin( KontactInterface::Plugin *plugin );
69 Q_SCRIPTABLE
virtual void selectPlugin(
const QString &pluginName );
70 void slotActionTriggered();
77 void slotActivePartChanged( KParts::Part *part );
78 void slotPreferences();
79 void slotNewClicked();
80 void slotSyncClicked();
83 void slotShowTipOnStart();
84 void slotNewToolbarConfig();
85 void slotShowIntroduction();
86 void showAboutDialog();
87 void slotShowStatusMsg(
const QString & );
88 void activateInitialPluginModule();
89 void slotOpenUrl(
const KUrl &url );
90 void slotOpenUrl(
const QUrl &url );
94 void initAboutScreen();
97 void waitForKSycoca();
99 bool isPluginLoaded(
const KPluginInfo & );
100 KontactInterface::Plugin *pluginFromInfo(
const KPluginInfo & );
102 void unloadPlugins();
103 void updateShortcuts();
104 bool removePlugin(
const KPluginInfo & );
105 void addPlugin( KontactInterface::Plugin *plugin );
106 void partLoaded( KontactInterface::Plugin *plugin, KParts::ReadOnlyPart *part );
108 void showTip(
bool );
109 virtual bool queryClose();
110 virtual void readProperties(
const KConfigGroup &config );
111 virtual void saveProperties( KConfigGroup &config );
112 void paintAboutScreen(
const QString &msg );
113 static QString introductionString();
114 KToolBar *findToolBar(
const char *name );
117 void pluginsChanged();
119 void configureShortcuts();
120 void configureToolbars();
121 void slotShowHideSideBar();
128 KActionMenu *mNewActions;
129 KActionMenu *mSyncActions;
132 KontactInterface::Plugin *mCurrentPlugin;
133 KParts::PartManager *mPartManager;
138 KWebView *mIntroPart;
140 KSqueezedTextLabel *mStatusMsgLabel;
149 bool mSyncActionsEnabled;
154 Q_DECLARE_METATYPE( KontactInterface::Plugin * )
virtual PluginList pluginList() const
QList< QAction * > ActionPluginList
QList< KontactInterface::Plugin * > PluginList
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:11 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.