summaryrefslogtreecommitdiffstats
path: root/kdf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:58 -0600
commit9e5c87c89567a98c3344c90e392a27715437334c (patch)
tree6c1dd96ae0ba38b7e8f0a492d591881f44f474da /kdf
parent53904b41cf005abbae3d468532db9adc2b04a9b4 (diff)
downloadtdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz
tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdf')
-rw-r--r--kdf/kdf.cpp6
-rw-r--r--kdf/kdf.h2
-rw-r--r--kdf/kdfwidget.cpp2
-rw-r--r--kdf/kdfwidget.h4
-rw-r--r--kdf/listview.cpp2
-rw-r--r--kdf/listview.h2
6 files changed, 9 insertions, 9 deletions
diff --git a/kdf/kdf.cpp b/kdf/kdf.cpp
index c2499c6..26e4fbb 100644
--- a/kdf/kdf.cpp
+++ b/kdf/kdf.cpp
@@ -37,11 +37,11 @@ static const char version[] = "v0.5";
/***************************************************************/
KDFTopLevel::KDFTopLevel(TQWidget *, const char *name)
- : KMainWindow(0, name)
+ : TDEMainWindow(0, name)
{
kdf = new KDFWidget(this,"kdf",FALSE);
TQ_CHECK_PTR(kdf);
- (void) new KAction( i18n( "&Update" ), 0, TQT_TQOBJECT(kdf), TQT_SLOT( updateDF() ), actionCollection(), "updatedf" );
+ (void) new TDEAction( i18n( "&Update" ), 0, TQT_TQOBJECT(kdf), TQT_SLOT( updateDF() ), actionCollection(), "updatedf" );
KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection());
KStdAction::preferences(TQT_TQOBJECT(kdf), TQT_SLOT(settingsBtnClicked()), actionCollection());
@@ -50,7 +50,7 @@ actionCollection());
setCentralWidget(kdf);
// kdf->setMinimumSize(kdf->sizeHint());
kdf->resize(kdf->sizeHint());
- setupGUI(KMainWindow::Keys | StatusBar | Save | Create);
+ setupGUI(TDEMainWindow::Keys | StatusBar | Save | Create);
}
diff --git a/kdf/kdf.h b/kdf/kdf.h
index 25aa2e6..282f52e 100644
--- a/kdf/kdf.h
+++ b/kdf/kdf.h
@@ -28,7 +28,7 @@
#include "kdfwidget.h"
/***************************************************************/
-class KDFTopLevel : public KMainWindow
+class KDFTopLevel : public TDEMainWindow
{
Q_OBJECT
diff --git a/kdf/kdfwidget.cpp b/kdf/kdfwidget.cpp
index 9b0d11a..d9aaffd 100644
--- a/kdf/kdfwidget.cpp
+++ b/kdf/kdfwidget.cpp
@@ -464,7 +464,7 @@ void KDFWidget::popupMenu( TQListViewItem *item, const TQPoint &p )
return;
}
- mPopup = new KPopupMenu( 0 );
+ mPopup = new TDEPopupMenu( 0 );
mPopup->insertTitle( disk->mountPoint() );
mPopup->insertItem( i18n("Mount Device"), 0 );
mPopup->insertItem( i18n("Unmount Device"), 1 );
diff --git a/kdf/kdfwidget.h b/kdf/kdfwidget.h
index 3afd033..872379f 100644
--- a/kdf/kdfwidget.h
+++ b/kdf/kdfwidget.h
@@ -39,7 +39,7 @@
class CListView;
class COptionDialog;
class TQTimer;
-class KPopupMenu;
+class TDEPopupMenu;
/**************************************************************/
@@ -143,7 +143,7 @@ class KDFWidget : public TQWidget
TQMemArray<CTabEntry*> mTabProp;
CListView *mList;
COptionDialog *mOptionDialog;
- KPopupMenu *mPopup;
+ TDEPopupMenu *mPopup;
TQTimer *mTimer;
DiskList mDiskList;
bool mIsTopLevel;
diff --git a/kdf/listview.cpp b/kdf/listview.cpp
index b9274c3..ab688db 100644
--- a/kdf/listview.cpp
+++ b/kdf/listview.cpp
@@ -35,7 +35,7 @@
template class TQDict<TQPixmap>;
CListView::CListView( TQWidget *parent, const char *name, int visibleItem )
- :KListView( parent, name ), mVisibleItem(TQMAX( 1, visibleItem ))
+ :TDEListView( parent, name ), mVisibleItem(TQMAX( 1, visibleItem ))
{
setVisibleItem(visibleItem);
mPixDict.setAutoDelete(true);
diff --git a/kdf/listview.h b/kdf/listview.h
index fa85dde..196fc17 100644
--- a/kdf/listview.h
+++ b/kdf/listview.h
@@ -25,7 +25,7 @@
#include <klistview.h>
-class CListView : public KListView
+class CListView : public TDEListView
{
Q_OBJECT