~ubuntu-branches/debian/sid/kdelibs/sid

« back to all changes in this revision

Viewing changes to kdeui/kdockwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-09 09:37:39 UTC
  • Revision ID: james.westby@ubuntu.com-20071009093739-rnmkeaxkf30pazqg
Tags: upstream-3.5.8
ImportĀ upstreamĀ versionĀ 3.5.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
  /**
117
117
   * Destructs this.
118
118
   */
119
 
  virtual ~KDockWidgetAbstractHeader(){};
 
119
  virtual ~KDockWidgetAbstractHeader(){}
120
120
 
121
121
  /**
122
122
   * Provides things concerning to switching to toplevel mode. Must be overridden by an inheriting class.
123
123
   */
124
 
  virtual void setTopLevel( bool ){};
 
124
  virtual void setTopLevel( bool ){}
125
125
 
126
126
#ifndef NO_KDE2
127
127
  /**
128
128
   * Provides saving the current configuration. Must be overridden by an inheriting class.
129
129
   */
130
 
  virtual void saveConfig( KConfig* ){};
 
130
  virtual void saveConfig( KConfig* ){}
131
131
 
132
132
  /**
133
133
   * Provides loading the current configuration.  Must be overridden by an inheriting class
134
134
   */
135
 
  virtual void loadConfig( KConfig* ){};
 
135
  virtual void loadConfig( KConfig* ){}
136
136
#endif
137
137
 
138
138
protected:
167
167
  /**
168
168
   * Destructs this.
169
169
   */
170
 
  virtual ~KDockWidgetAbstractHeaderDrag(){};
 
170
  virtual ~KDockWidgetAbstractHeaderDrag(){}
171
171
 
172
172
  /**
173
173
   * @return the dockwidget where this belongs to
212
212
  /**
213
213
   * Destructs this.
214
214
   */
215
 
  virtual ~KDockWidgetHeaderDrag(){};
 
215
  virtual ~KDockWidgetHeaderDrag(){}
216
216
 
217
217
protected:
218
218
 
251
251
  /**
252
252
   * Destructs this.
253
253
   */
254
 
  virtual ~KDockWidgetHeader(){};
 
254
  virtual ~KDockWidgetHeader(){}
255
255
 
256
256
  /**
257
257
   * Hides the close button and stay button when switching to toplevel or vice versa shows them.
368
368
   * Constructs this. It just calls the method of the base class.
369
369
   */
370
370
  KDockTabGroup( QWidget *parent = 0, const char *name = 0 )
371
 
  :QTabWidget( parent, name ){};
 
371
  :QTabWidget( parent, name ){}
372
372
 
373
373
  /**
374
374
   * Destructs a KDockTabGroup.
375
375
   */
376
 
  virtual ~KDockTabGroup(){};
 
376
  virtual ~KDockTabGroup(){}
377
377
 
378
378
  QWidget *transientTo();
379
379
protected:
535
535
   *
536
536
   * @return The pointer to the dockwidget's child widget, 0L if there's no such child.
537
537
   */
538
 
  QWidget* getWidget() const { return widget; };
 
538
  QWidget* getWidget() const { return widget; }
539
539
 
540
540
  /**
541
541
   * Sets the header of this dockwidget.
594
594
   *
595
595
   * @param ttStr A string for the tooltip on the tab.
596
596
   */
597
 
  void setToolTipString(const QString& ttStr) { toolTipStr = ttStr; };
 
597
  void setToolTipString(const QString& ttStr) { toolTipStr = ttStr; }
598
598
 
599
599
  /**
600
600
   * @return The tooltip string being shown on the appropriate tab page header when in dock-centered mode.
601
601
   */
602
 
  const QString& toolTipString() const { return toolTipStr; };
 
602
  const QString& toolTipString() const { return toolTipStr; }
603
603
 
604
604
  /**
605
605
   * @return result @p true, if a dockback is possible, otherwise @p false.
610
610
   * Sets a string that is used for the label of the tab page when in tab page mode
611
611
   * @param label The new tab page label.
612
612
   */
613
 
  void setTabPageLabel( const QString& label) { tabPageTitle = label; };
 
613
  void setTabPageLabel( const QString& label) { tabPageTitle = label; }
614
614
 
615
615
  /**
616
616
   * @return A string that is used for the label of the tab page when in tab page mode.
617
617
   */
618
 
  const QString& tabPageLabel() const { return tabPageTitle; };
 
618
  const QString& tabPageLabel() const { return tabPageTitle; }
619
619
 
620
620
  /**
621
621
   * Catches and processes some QWidget events that are interesting for dockwidgets.
1123
1123
    {
1124
1124
      dock = _dock;
1125
1125
      hide = _hide;
1126
 
    };
1127
 
    ~MenuDockData(){};
 
1126
    }
 
1127
    ~MenuDockData(){}
1128
1128
 
1129
1129
    KDockWidget* dock;
1130
1130
    bool hide;