summaryrefslogtreecommitdiffstats
path: root/tderesources/lib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /tderesources/lib
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tderesources/lib')
-rw-r--r--tderesources/lib/folderconfig.h2
-rw-r--r--tderesources/lib/folderlistview.cpp6
-rw-r--r--tderesources/lib/folderlistview.h2
-rw-r--r--tderesources/lib/folderselectdialog.cpp2
-rw-r--r--tderesources/lib/folderselectdialog.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/tderesources/lib/folderconfig.h b/tderesources/lib/folderconfig.h
index 36a8d31a0..a9b4c714c 100644
--- a/tderesources/lib/folderconfig.h
+++ b/tderesources/lib/folderconfig.h
@@ -27,7 +27,7 @@
#include <tdepimmacros.h>
#include <tqwidget.h>
-// class KListView;
+// class TDEListView;
class TQComboBox;
class FolderListView;
diff --git a/tderesources/lib/folderlistview.cpp b/tderesources/lib/folderlistview.cpp
index b29e61c9d..68995aef2 100644
--- a/tderesources/lib/folderlistview.cpp
+++ b/tderesources/lib/folderlistview.cpp
@@ -39,7 +39,7 @@ static const int BoxSize = 16;
//BEGIN FolderListView
FolderListView::FolderListView( TQWidget *parent, const TQValueList<Property> &types )
- : KListView( parent )
+ : TDEListView( parent )
{
setEnabledTypes( types );
@@ -95,7 +95,7 @@ void FolderListView::showPopupMenu( FolderListItem *i, const TQPoint &globalPos
if ( !i ) return;
KPIM::FolderLister::Entry folder( i->folder() );
- KPopupMenu m( this );
+ TDEPopupMenu m( this );
int id;
m.insertTitle( folder.name, 9999 );
@@ -154,7 +154,7 @@ void FolderListView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint&
// map pos to item/column and call FolderListItem::activate(col, pos)
((FolderListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(i).top() ) );
// } else {
-// KListView::slotMousePressed( btn, i, pos, c );
+// TDEListView::slotMousePressed( btn, i, pos, c );
}
}
}
diff --git a/tderesources/lib/folderlistview.h b/tderesources/lib/folderlistview.h
index 32f01199b..f4837ecf6 100644
--- a/tderesources/lib/folderlistview.h
+++ b/tderesources/lib/folderlistview.h
@@ -35,7 +35,7 @@ class FolderListCaption;
TQListView that automatically adds columns for FolderListItems for selecting
the default destination and a slot to edit the destinations using the keyboard.
*/
-class FolderListView : public KListView
+class FolderListView : public TDEListView
{
Q_OBJECT
diff --git a/tderesources/lib/folderselectdialog.cpp b/tderesources/lib/folderselectdialog.cpp
index 9d0f48a5e..ab5991531 100644
--- a/tderesources/lib/folderselectdialog.cpp
+++ b/tderesources/lib/folderselectdialog.cpp
@@ -47,7 +47,7 @@ FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString&
TQLabel* labelWidget = new TQLabel( label, frame );
layout->addWidget( labelWidget );
- mListBox = new KListBox( frame );
+ mListBox = new TDEListBox( frame );
mListBox->insertStringList( list );
mListBox->setSelected( 0, true );
mListBox->ensureCurrentVisible();
diff --git a/tderesources/lib/folderselectdialog.h b/tderesources/lib/folderselectdialog.h
index e33ac80a4..5f04cd019 100644
--- a/tderesources/lib/folderselectdialog.h
+++ b/tderesources/lib/folderselectdialog.h
@@ -51,7 +51,7 @@ protected:
virtual void closeEvent(TQCloseEvent *event);
void reject();
private:
- KListBox* mListBox;
+ TDEListBox* mListBox;
};
}