diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:10:12 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:10:12 -0600 |
commit | 189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e (patch) | |
tree | 52d62ad83db1551dd15dc147b4af4cacaae6e850 /kdat | |
parent | 58cb2c2c17b1e6dd48cbfbcb69ec2f50f1ced9ee (diff) | |
download | tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.tar.gz tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdat')
-rw-r--r-- | kdat/KDatMainWindow.cpp | 6 | ||||
-rw-r--r-- | kdat/KDatMainWindow.h | 6 | ||||
-rw-r--r-- | kdat/TODO | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kdat/KDatMainWindow.cpp b/kdat/KDatMainWindow.cpp index c3056ef..44bcece 100644 --- a/kdat/KDatMainWindow.cpp +++ b/kdat/KDatMainWindow.cpp @@ -85,7 +85,7 @@ KDatMainWindow* KDatMainWindow::getInstance() #define KDAT_HORIZONTAL_LAYOUT KDatMainWindow::KDatMainWindow() - : KMainWindow(0), _destroyed( FALSE ) + : TDEMainWindow(0), _destroyed( FALSE ) { #ifdef KDAT_HORIZONTAL_LAYOUT /* 2002-01-20 LEW */ resize( 600, 600 ); /* was 600 by 400 */ @@ -155,7 +155,7 @@ KDatMainWindow::KDatMainWindow() TQString about = i18n( "KDat Version %1\n\nKDat is a tar-based tape archiver.\n\nCopyright (c) 1998-2000 Sean Vyain\nCopyright (c) 2001-2002 Lawrence Widman\[email protected]" ).arg( KDAT_VERSION ); _menu->insertItem( i18n( "&Help" ), helpMenu( about ) ); - _toolbar = new KToolBar( this ); + _toolbar = new TDEToolBar( this ); _toolbar->insertButton( *ImageCache::instance()->getTapeUnmounted(), 0, TQT_SIGNAL( clicked( int ) ), TQT_TQOBJECT(this), TQT_SLOT( fileMountTape() ), TRUE, i18n( "Mount/unmount tape" ) ); @@ -1028,7 +1028,7 @@ void KDatMainWindow::status( const TQString & msg ) void KDatMainWindow::show() { - KMainWindow::show(); + TDEMainWindow::show(); hideInfo(); } diff --git a/kdat/KDatMainWindow.h b/kdat/KDatMainWindow.h index 76ae941..d893bdc 100644 --- a/kdat/KDatMainWindow.h +++ b/kdat/KDatMainWindow.h @@ -27,7 +27,7 @@ class KMenuBar; class TQSplitter; class KStatusBar; -class KToolBar; +class TDEToolBar; class KTreeView; class KTreeViewItem; @@ -51,7 +51,7 @@ class TapeInfoWidget; /** * @short The KDat main window. Everything happens from here. */ -class KDatMainWindow : public KMainWindow { +class KDatMainWindow : public TDEMainWindow { Q_OBJECT @@ -60,7 +60,7 @@ private: KMenuBar* _menu; TQPopupMenu* _fileMenu; TQPopupMenu* _editMenu; - KToolBar* _toolbar; + TDEToolBar* _toolbar; KStatusBar* _statusBar; TQSplitter* _panner; KTreeView* _tree; @@ -122,7 +122,7 @@ Outstanding Bugs change the names to hi22 kdat don't find them :-( In the future there should be a set of 16x16, 22x22 and 32x32 toolbar icons, the menu and toolbar can then be created - with the KAction class and XMLGUI and the toolbar menu will + with the TDEAction class and XMLGUI and the toolbar menu will then have an effect :-)" 2002-01-23 |