Mercurial > hg > easyhg-kdiff3
comparison kdiff3/src/kreplacements/kreplacements.h @ 68:d7cafcda8c99
KDiff3 0.9.87
author | joachim99 |
---|---|
date | Mon, 31 Jan 2005 22:30:47 +0000 |
parents | efe33e938730 |
children | 8febbfb1148c |
comparison
equal
deleted
inserted
replaced
67:ec82d69e8b0c | 68:d7cafcda8c99 |
---|---|
84 | 84 |
85 class KDialogBase : public QTabDialog | 85 class KDialogBase : public QTabDialog |
86 { | 86 { |
87 Q_OBJECT | 87 Q_OBJECT |
88 public: | 88 public: |
89 KDialogBase( int, const QString& caption, int, int, QWidget* parent, const QString& name, | 89 KDialogBase( int, const QString& caption, int, int, QWidget* parent, const char* name, |
90 bool /*modal*/, bool ); | 90 bool /*modal*/, bool ); |
91 ~KDialogBase(); | 91 ~KDialogBase(); |
92 | 92 |
93 void incInitialSize ( const QSize& ); | 93 void incInitialSize ( const QSize& ); |
94 void setHelp(const QString& helpfilename, const QString& ); | 94 void setHelp(const QString& helpfilename, const QString& ); |
185 QPopupMenu* settingsMenu; | 185 QPopupMenu* settingsMenu; |
186 QPopupMenu* helpMenu; | 186 QPopupMenu* helpMenu; |
187 | 187 |
188 KToolBar* m_pToolBar; | 188 KToolBar* m_pToolBar; |
189 | 189 |
190 KMainWindow( QWidget* parent, const QString& name ); | 190 KMainWindow( QWidget* parent, const char* name ); |
191 KToolBar* toolBar(const QString& s = QString::null); | 191 KToolBar* toolBar(const QString& s = QString::null); |
192 KActionCollection* actionCollection(); | 192 KActionCollection* actionCollection(); |
193 void createGUI(); | 193 void createGUI(); |
194 void createGUI(KParts::ReadWritePart*){createGUI();} | 194 void createGUI(KParts::ReadWritePart*){createGUI();} |
195 | 195 |
231 | 231 |
232 class KAction : public QAction | 232 class KAction : public QAction |
233 { | 233 { |
234 Q_OBJECT | 234 Q_OBJECT |
235 public: | 235 public: |
236 KAction(const QString& text, const QIconSet& icon, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const QString& name, bool bToggle=false, bool bMenu=true); | 236 KAction(const QString& text, const QIconSet& icon, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bToggle=false, bool bMenu=true); |
237 KAction(const QString& text, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const QString& name, bool bToggle=false, bool bMenu=true); | 237 KAction(const QString& text, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bToggle=false, bool bMenu=true); |
238 void init(QObject* receiver, const char* slot, KActionCollection* actionCollection, | |
239 const char* name, bool bToggle, bool bMenu); | |
238 void setStatusText(const QString&); | 240 void setStatusText(const QString&); |
239 void plug(QPopupMenu*); | 241 void plug(QPopupMenu*); |
240 }; | 242 }; |
241 | 243 |
242 class KToggleAction : public KAction | 244 class KToggleAction : public KAction |
243 { | 245 { |
244 public: | 246 public: |
245 KToggleAction(const QString& text, const QIconSet& icon, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const QString& name, bool bMenu=true); | 247 KToggleAction(const QString& text, const QIconSet& icon, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bMenu=true); |
246 KToggleAction(const QString& text, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const QString& name, bool bMenu=true); | 248 KToggleAction(const QString& text, int accel, QObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bMenu=true); |
247 KToggleAction(const QString& text, const QIconSet& icon, int accel, KActionCollection* actionCollection, const QString& name, bool bMenu=true); | 249 KToggleAction(const QString& text, const QIconSet& icon, int accel, KActionCollection* actionCollection, const char* name, bool bMenu=true); |
248 void setChecked(bool); | 250 void setChecked(bool); |
249 bool isChecked(); | 251 bool isChecked(); |
250 }; | 252 }; |
251 | 253 |
252 | 254 |
445 namespace KParts | 447 namespace KParts |
446 { | 448 { |
447 class MainWindow : public KMainWindow | 449 class MainWindow : public KMainWindow |
448 { | 450 { |
449 public: | 451 public: |
450 MainWindow( QWidget* parent, const QString& name ) : KMainWindow(parent,name) {} | 452 MainWindow( QWidget* parent, const char* name ) : KMainWindow(parent,name) {} |
451 void setXMLFile(const QString&){} | 453 void setXMLFile(const QString&){} |
452 void setAutoSaveSettings(){} | 454 void setAutoSaveSettings(){} |
453 void saveMainWindowSettings(KConfig*){} | 455 void saveMainWindowSettings(KConfig*){} |
454 void applyMainWindowSettings(KConfig*){} | 456 void applyMainWindowSettings(KConfig*){} |
455 int factory(){return 0;} | 457 int factory(){return 0;} |