summaryrefslogtreecommitdiffstats
path: root/tdeui/ktoolbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/ktoolbar.h')
-rw-r--r--tdeui/ktoolbar.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/tdeui/ktoolbar.h b/tdeui/ktoolbar.h
index 2a86b0687..43362f512 100644
--- a/tdeui/ktoolbar.h
+++ b/tdeui/ktoolbar.h
@@ -44,23 +44,23 @@ class TQDomDocument;
class TQTimer;
class KLineEdit;
-class KToolBar;
-class KToolBarButton;
-class KToolBoxManager;
+class TDEToolBar;
+class TDEToolBarButton;
+class TDEToolBoxManager;
class KAnimWidget;
-class KPopupMenu;
+class TDEPopupMenu;
class TDEInstance;
class KComboBox;
class KXMLGUIClient;
-class KToolBarPrivate;
+class TDEToolBarPrivate;
-class TDEUI_EXPORT KToolBarSeparator : public TQFrame
+class TDEUI_EXPORT TDEToolBarSeparator : public TQFrame
{
Q_OBJECT
public:
- KToolBarSeparator( Orientation, bool l, TQToolBar *parent, const char* name=0 );
+ TDEToolBarSeparator( Orientation, bool l, TQToolBar *parent, const char* name=0 );
TQSize sizeHint() const;
Orientation orientation() const { return orient; }
@@ -82,26 +82,26 @@ private:
*
* A KDE-style toolbar.
*
- * KToolBar can be dragged around in and between different docks.
+ * TDEToolBar can be dragged around in and between different docks.
*
- * A KToolBar can contain all sorts of widgets.
+ * A TDEToolBar can contain all sorts of widgets.
*
- * KToolBar can be used as a standalone widget, but KMainWindow
+ * TDEToolBar can be used as a standalone widget, but TDEMainWindow
* provides easy factories and management of one or more toolbars.
- * Once you have a KToolBar object, you can insert items into it with the
+ * Once you have a TDEToolBar object, you can insert items into it with the
* insert... methods, or remove them with the removeItem() method. This
* can be done at any time; the toolbar will be automatically updated.
* There are also many methods to set per-child properties like alignment
* and toggle behavior.
*
- * KToolBar uses a global config group to load toolbar settings on
+ * TDEToolBar uses a global config group to load toolbar settings on
* construction. It will reread this config group on a
* TDEApplication::appearanceChanged() signal.
*
* @author Reginald Stadlbauer <reggie@kde.org>, Stephan Kulow <coolo@kde.org>, Sven Radej <radej@kde.org>.
*/
-class TDEUI_EXPORT KToolBar : public TQToolBar
+class TDEUI_EXPORT TDEToolBar : public TQToolBar
{
Q_OBJECT
@@ -136,12 +136,12 @@ public:
* true. All other toolbars will be IconOnly and use Medium icons.
*
* @param parent The standard toolbar parent (usually a
- * KMainWindow)
+ * TDEMainWindow)
* @param name The standard internal name
* @param honorStyle If true, then global settings for IconSize and IconText will be honored
* @param readConfig whether to apply the configuration (global and application-specific)
*/
- KToolBar( TQWidget *parent, const char *name = 0, bool honorStyle = false, bool readConfig = true );
+ TDEToolBar( TQWidget *parent, const char *name = 0, bool honorStyle = false, bool readConfig = true );
/**
* Constructor for non-XML-GUI applications.
@@ -158,7 +158,7 @@ public:
* @param honorStyle If true, then global settings for IconSize and IconText will be honored
* @param readConfig whether to apply the configuration (global and application-specific)
*/
- KToolBar( TQMainWindow *parentWindow, TQMainWindow::ToolBarDock dock /*= TQMainWindow::Top*/, bool newLine = false,
+ TDEToolBar( TQMainWindow *parentWindow, TQMainWindow::ToolBarDock dock /*= TQMainWindow::Top*/, bool newLine = false,
const char *name = 0, bool honorStyle = false, bool readConfig = true );
/**
@@ -176,20 +176,20 @@ public:
* @param honorStyle If true, then global settings for IconSize and IconText will be honored
* @param readConfig whether to apply the configuration (global and application-specific)
*/
- KToolBar( TQMainWindow *parentWindow, TQWidget *dock, bool newLine = false,
+ TDEToolBar( TQMainWindow *parentWindow, TQWidget *dock, bool newLine = false,
const char *name = 0, bool honorStyle = false, bool readConfig = true );
/**
* Destructor
*/
- virtual ~KToolBar();
+ virtual ~TDEToolBar();
/**
- * Insert a button (a KToolBarButton) with a pixmap. The
+ * Insert a button (a TDEToolBarButton) with a pixmap. The
* pixmap is loaded by the button itself based on the global icon
* settings.
*
- * You should connect to one or more signals in KToolBar:
+ * You should connect to one or more signals in TDEToolBar:
* clicked() , pressed() , released() , or
* highlighted() and if the button is a toggle button
* ( setToggle() ) toggled() . Those signals have @p id
@@ -233,7 +233,7 @@ public:
int index=-1, TDEInstance *_instance = TDEGlobal::instance() );
/**
- * Inserts a button (a KToolBarButton) with the specified
+ * Inserts a button (a TDEToolBarButton) with the specified
* pixmap. This pixmap will be used as the "active" one and the
* disabled and default ones will be autogenerated.
*
@@ -241,7 +241,7 @@ public:
* allows you to specify the icon name rather then the pixmap
* itself. Specifying the icon name is much more flexible.
*
- * You should connect to one or more signals in KToolBar:
+ * You should connect to one or more signals in TDEToolBar:
* clicked() , pressed() , released() , or
* highlighted() and if the button is a toggle button
* ( setToggle() ) toggled() . Those signals have @p id
@@ -602,12 +602,12 @@ public:
KComboBox * getCombo(int id);
/**
- * Returns a pointer to KToolBarLined with @p id.
- * @return a pointer to KToolBarLined with @p id.
+ * Returns a pointer to TDEToolBarLined with @p id.
+ * @return a pointer to TDEToolBarLined with @p id.
*
* Example:
* \code
- * KLineEdit * lined = toolbar->getKToolBarLined(lined_id);
+ * KLineEdit * lined = toolbar->getTDEToolBarLined(lined_id);
* \endcode
* That way you can get access to other public methods
* that KLineEdit provides. KLineEdit is the same thing
@@ -616,18 +616,18 @@ public:
KLineEdit * getLined (int id);
/**
- * Returns a pointer to KToolBarButton.
+ * Returns a pointer to TDEToolBarButton.
*
* Example:
* \code
- * KToolBarButton * button = toolbar->getButton(button_id);
+ * TDEToolBarButton * button = toolbar->getButton(button_id);
* \endcode
* That way you can get access to other public methods
- * that KToolBarButton provides.
+ * that TDEToolBarButton provides.
*
* Using this method is not recommended.
*/
- KToolBarButton * getButton (int id);
+ TDEToolBarButton * getButton (int id);
/**
* Align item to the right.
@@ -900,7 +900,7 @@ public:
* precedence).
*/
void saveState(); // BIC: remove for KDE4? This doesn't appear to be used internally,
- // and apps use saveMainWindowSettings in KMainWindow anyway.
+ // and apps use saveMainWindowSettings in TDEMainWindow anyway.
/**
* Save the toolbar settings to group @p configGroup in @p config.
@@ -1036,8 +1036,8 @@ signals:
* Emitted when toolbar changes position, or when
* an item is removed from toolbar.
*
- * If you subclass KMainWindow and reimplement
- * KMainWindow::resizeEvent() be sure to connect to
+ * If you subclass TDEMainWindow and reimplement
+ * TDEMainWindow::resizeEvent() be sure to connect to
* this signal. Note: You can connect this signal to a slot that
* doesn't take parameter.
*/
@@ -1054,7 +1054,7 @@ signals:
/**
* This signal is emitted when the toolbar is getting deleted,
- * and before ~KToolbar finishes (so it's still time to remove
+ * and before ~TDEToolbar finishes (so it's still time to remove
* widgets from the toolbar).
* Used by KWidgetAction.
* @since 3.2
@@ -1106,25 +1106,25 @@ private slots:
private:
void init( bool readConfig = true, bool honorStyle = false );
- void doConnections( KToolBarButton *button );
+ void doConnections( TDEToolBarButton *button );
void insertWidgetInternal( TQWidget *w, int &index, int id );
void removeWidgetInternal( TQWidget *w );
void getAttributes( TQString &position, TQString &icontext, int &index );
int dockWindowIndex();
- KPopupMenu *contextMenu();
+ TDEPopupMenu *contextMenu();
void doModeChange();
TQMap<TQWidget*, int > widget2id;
typedef TQMap<int, TQWidget* > Id2WidgetMap;
Id2WidgetMap id2widget;
- KPopupMenu *context;
+ TDEPopupMenu *context;
TQPtrList<TQWidget> widgets;
TQTimer *layoutTimer;
TQGuardedPtr<TQWidget> stretchableWidget, rightAligned;
protected:
virtual void virtual_hook( int id, void* data );
private:
- KToolBarPrivate *d;
+ TDEToolBarPrivate *d;
};
#endif