summaryrefslogtreecommitdiffstats
path: root/src/kreplacements/kreplacements.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kreplacements/kreplacements.h')
-rw-r--r--src/kreplacements/kreplacements.h94
1 files changed, 47 insertions, 47 deletions
diff --git a/src/kreplacements/kreplacements.h b/src/kreplacements/kreplacements.h
index b3bcfaf..0275a1b 100644
--- a/src/kreplacements/kreplacements.h
+++ b/src/kreplacements/kreplacements.h
@@ -40,7 +40,7 @@
TQString getTranslationDir();
-class KMainWindow;
+class TDEMainWindow;
class KURL
{
@@ -83,7 +83,7 @@ public:
#define RESTORE(x)
#define _UNLOAD(x)
-typedef TQPopupMenu KPopupMenu;
+typedef TQPopupMenu TDEPopupMenu;
class KDialogBase : public TQTabDialog
{
@@ -137,10 +137,10 @@ public:
typedef TQStatusBar KStatusBar;
-class KToolBar : public TQToolBar
+class TDEToolBar : public TQToolBar
{
public:
- KToolBar(TQMainWindow* parent);
+ TDEToolBar(TQMainWindow* parent);
enum BarPosition {Top, Bottom, Left, Right};
BarPosition barPos();
@@ -149,19 +149,19 @@ private:
TQMainWindow* m_pMainWindow;
};
-class KActionCollection
+class TDEActionCollection
{
public:
- KMainWindow* m_pMainWindow;
- KActionCollection( KMainWindow* p){ m_pMainWindow=p; }
+ TDEMainWindow* m_pMainWindow;
+ TDEActionCollection( TDEMainWindow* p){ m_pMainWindow=p; }
};
class KKeyDialog
{
public:
static void configure(void*, TQWidget*){}
- static void configureKeys(KActionCollection*, const TQString&){}
- static void configure(KActionCollection*, const TQString&){}
+ static void configureKeys(TDEActionCollection*, const TQString&){}
+ static void configure(TDEActionCollection*, const TQString&){}
};
namespace KParts
@@ -169,13 +169,13 @@ namespace KParts
class ReadWritePart;
}
-class KMainWindow : public TQMainWindow
+class TDEMainWindow : public TQMainWindow
{
Q_OBJECT
private:
KStatusBar m_statusBar;
- KActionCollection m_actionCollection;
+ TDEActionCollection m_actionCollection;
protected:
virtual bool queryClose() = 0;
virtual bool queryExit() = 0;
@@ -192,15 +192,15 @@ public:
TQPopupMenu* settingsMenu;
TQPopupMenu* helpMenu;
- KToolBar* m_pToolBar;
+ TDEToolBar* m_pToolBar;
- KMainWindow( TQWidget* parent, const char* name );
- KToolBar* toolBar(const TQString& s = TQString());
- KActionCollection* actionCollection();
+ TDEMainWindow( TQWidget* parent, const char* name );
+ TDEToolBar* toolBar(const TQString& s = TQString());
+ TDEActionCollection* actionCollection();
void createGUI();
void createGUI(KParts::ReadWritePart*){createGUI();}
- TQList<KMainWindow>* memberList;
+ TQList<TDEMainWindow>* memberList;
public slots:
void slotHelp();
void slotAbout();
@@ -217,25 +217,25 @@ public:
void setGroup(const TQString&);
};
-class KAction : public TQAction
+class TDEAction : public TQAction
{
Q_OBJECT
public:
- KAction(const TQString& text, const TQIconSet& icon, int accel, TQObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bToggle=false, bool bMenu=true);
- KAction(const TQString& text, int accel, TQObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bToggle=false, bool bMenu=true);
- void init(TQObject* receiver, const char* slot, KActionCollection* actionCollection,
+ TDEAction(const TQString& text, const TQIconSet& icon, int accel, TQObject* receiver, const char* slot, TDEActionCollection* actionCollection, const char* name, bool bToggle=false, bool bMenu=true);
+ TDEAction(const TQString& text, int accel, TQObject* receiver, const char* slot, TDEActionCollection* actionCollection, const char* name, bool bToggle=false, bool bMenu=true);
+ void init(TQObject* receiver, const char* slot, TDEActionCollection* actionCollection,
const char* name, bool bToggle, bool bMenu);
void setStatusText(const TQString&);
void plug(TQPopupMenu*);
};
-class KToggleAction : public KAction
+class TDEToggleAction : public TDEAction
{
public:
- KToggleAction(const TQString& text, const TQIconSet& icon, int accel, TQObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bMenu=true);
- KToggleAction(const TQString& text, int accel, TQObject* receiver, const char* slot, KActionCollection* actionCollection, const char* name, bool bMenu=true);
- KToggleAction(const TQString& text, const TQIconSet& icon, int accel, KActionCollection* actionCollection, const char* name, bool bMenu=true);
+ TDEToggleAction(const TQString& text, const TQIconSet& icon, int accel, TQObject* receiver, const char* slot, TDEActionCollection* actionCollection, const char* name, bool bMenu=true);
+ TDEToggleAction(const TQString& text, int accel, TQObject* receiver, const char* slot, TDEActionCollection* actionCollection, const char* name, bool bMenu=true);
+ TDEToggleAction(const TQString& text, const TQIconSet& icon, int accel, TDEActionCollection* actionCollection, const char* name, bool bMenu=true);
void setChecked(bool);
bool isChecked();
};
@@ -244,24 +244,24 @@ public:
class KStdAction
{
public:
- static KAction* open( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* save( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* saveAs( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* print( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* quit( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* cut( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* copy( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* paste( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* selectAll( TQWidget* parent, const char* slot, KActionCollection* );
- static KToggleAction* showToolbar( TQWidget* parent, const char* slot, KActionCollection* );
- static KToggleAction* showStatusbar( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* preferences( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* about( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* aboutTQt( KActionCollection* );
- static KAction* help( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* find( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* findNext( TQWidget* parent, const char* slot, KActionCollection* );
- static KAction* keyBindings( TQWidget* parent, const char* slot, KActionCollection* );
+ static TDEAction* open( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* save( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* saveAs( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* print( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* quit( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* cut( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* copy( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* paste( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* selectAll( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEToggleAction* showToolbar( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEToggleAction* showStatusbar( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* preferences( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* about( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* aboutTQt( TDEActionCollection* );
+ static TDEAction* help( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* find( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* findNext( TQWidget* parent, const char* slot, TDEActionCollection* );
+ static TDEAction* keyBindings( TQWidget* parent, const char* slot, TDEActionCollection* );
};
class KIcon
@@ -270,7 +270,7 @@ public:
enum {SizeMedium,Small};
};
-class KFontChooser : public TQWidget
+class TDEFontChooser : public TQWidget
{
Q_OBJECT
@@ -279,7 +279,7 @@ class KFontChooser : public TQWidget
TQLabel* m_pLabel;
TQWidget* m_pParent;
public:
- KFontChooser( TQWidget* pParent, const TQString& name, bool, const TQStringList&, bool, int );
+ TDEFontChooser( TQWidget* pParent, const TQString& name, bool, const TQStringList&, bool, int );
TQFont font();
void setFont( const TQFont&, bool );
private slots:
@@ -458,10 +458,10 @@ public:
namespace KParts
{
- class MainWindow : public KMainWindow
+ class MainWindow : public TDEMainWindow
{
public:
- MainWindow( TQWidget* parent, const char* name ) : KMainWindow(parent,name) {}
+ MainWindow( TQWidget* parent, const char* name ) : TDEMainWindow(parent,name) {}
void setXMLFile(const TQString&){}
void setAutoSaveSettings(){}
void saveMainWindowSettings(TDEConfig*){}
@@ -472,7 +472,7 @@ namespace KParts
class Part : public TQObject
{
public:
- KActionCollection* actionCollection();
+ TDEActionCollection* actionCollection();
TDEApplication* instance();
void setWidget( TQWidget* w ){ m_pWidget=w; }
TQWidget* widget(){return m_pWidget;}