diff options
Diffstat (limited to 'ktnef/gui')
-rw-r--r-- | ktnef/gui/attachpropertydialogbase.ui | 2 | ||||
-rw-r--r-- | ktnef/gui/ktnefmain.cpp | 22 | ||||
-rw-r--r-- | ktnef/gui/ktnefmain.h | 2 | ||||
-rw-r--r-- | ktnef/gui/ktnefview.cpp | 2 | ||||
-rw-r--r-- | ktnef/gui/ktnefview.h | 2 | ||||
-rw-r--r-- | ktnef/gui/messagepropertydialog.cpp | 2 | ||||
-rw-r--r-- | ktnef/gui/messagepropertydialog.h | 4 |
7 files changed, 18 insertions, 18 deletions
diff --git a/ktnef/gui/attachpropertydialogbase.ui b/ktnef/gui/attachpropertydialogbase.ui index 010dd9208..ce443f36d 100644 --- a/ktnef/gui/attachpropertydialogbase.ui +++ b/ktnef/gui/attachpropertydialogbase.ui @@ -176,7 +176,7 @@ </size> </property> </widget> - <widget class="KListView" row="7" column="0" rowspan="1" colspan="3"> + <widget class="TDEListView" row="7" column="0" rowspan="1" colspan="3"> <column> <property name="text"> <string>Name</string> diff --git a/ktnef/gui/ktnefmain.cpp b/ktnef/gui/ktnefmain.cpp index 149f43db1..ecd17bd22 100644 --- a/ktnef/gui/ktnefmain.cpp +++ b/ktnef/gui/ktnefmain.cpp @@ -58,7 +58,7 @@ #define NOT_IMPLEMENTED TQMessageBox::information(this, "ktnef", "Not implemented yet", TQMessageBox::Ok|TQMessageBox::Default, 0) KTNEFMain::KTNEFMain(TQWidget *parent, const char *name) - : KMainWindow(parent, name) + : TDEMainWindow(parent, name) { setupActions(); setupStatusbar(); @@ -89,15 +89,15 @@ void KTNEFMain::setupActions() KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection()); // Action menu - new KAction(i18n("View"), TQString("viewmag"), 0, TQT_TQOBJECT(this), TQT_SLOT(viewFile()), actionCollection(), "view_file"); - new KAction(i18n("View With..."), TQString("package_applications"), 0, TQT_TQOBJECT(this), TQT_SLOT(viewFileAs()), actionCollection(), "view_file_as"); - new KAction(i18n("Extract"), 0, TQT_TQOBJECT(this), TQT_SLOT(extractFile()), actionCollection(), "extract_file"); - new KAction(i18n("Extract To..."), TQString("ktnef_extract_to"), 0, TQT_TQOBJECT(this), TQT_SLOT(extractFileTo()), actionCollection(), "extract_file_to"); - new KAction(i18n("Extract All To..."), TQString("ktnef_extract_all_to"), 0, TQT_TQOBJECT(this), TQT_SLOT(extractAllFiles()), actionCollection(), "extract_all_files"); - new KAction( i18n( "Message Properties" ), "help", 0, TQT_TQOBJECT(this), TQT_SLOT( slotShowMessageProperties() ), actionCollection(), "msg_properties" ); - new KAction(i18n("Properties"), TQString("contents"), 0, TQT_TQOBJECT(this), TQT_SLOT(propertiesFile()), actionCollection(), "properties_file"); - new KAction( i18n( "Show Message Text" ), "mail_generic", 0, TQT_TQOBJECT(this), TQT_SLOT( slotShowMessageText() ), actionCollection(), "msg_text" ); - new KAction( i18n( "Save Message Text As..." ), "filesave", 0, TQT_TQOBJECT(this), TQT_SLOT( slotSaveMessageText() ), actionCollection(), "msg_save" ); + new TDEAction(i18n("View"), TQString("viewmag"), 0, TQT_TQOBJECT(this), TQT_SLOT(viewFile()), actionCollection(), "view_file"); + new TDEAction(i18n("View With..."), TQString("package_applications"), 0, TQT_TQOBJECT(this), TQT_SLOT(viewFileAs()), actionCollection(), "view_file_as"); + new TDEAction(i18n("Extract"), 0, TQT_TQOBJECT(this), TQT_SLOT(extractFile()), actionCollection(), "extract_file"); + new TDEAction(i18n("Extract To..."), TQString("ktnef_extract_to"), 0, TQT_TQOBJECT(this), TQT_SLOT(extractFileTo()), actionCollection(), "extract_file_to"); + new TDEAction(i18n("Extract All To..."), TQString("ktnef_extract_all_to"), 0, TQT_TQOBJECT(this), TQT_SLOT(extractAllFiles()), actionCollection(), "extract_all_files"); + new TDEAction( i18n( "Message Properties" ), "help", 0, TQT_TQOBJECT(this), TQT_SLOT( slotShowMessageProperties() ), actionCollection(), "msg_properties" ); + new TDEAction(i18n("Properties"), TQString("contents"), 0, TQT_TQOBJECT(this), TQT_SLOT(propertiesFile()), actionCollection(), "properties_file"); + new TDEAction( i18n( "Show Message Text" ), "mail_generic", 0, TQT_TQOBJECT(this), TQT_SLOT( slotShowMessageText() ), actionCollection(), "msg_text" ); + new TDEAction( i18n( "Save Message Text As..." ), "filesave", 0, TQT_TQOBJECT(this), TQT_SLOT( slotSaveMessageText() ), actionCollection(), "msg_save" ); actionCollection()->action("view_file")->setEnabled(false); actionCollection()->action("view_file_as")->setEnabled(false); actionCollection()->action("extract_file")->setEnabled(false); @@ -106,7 +106,7 @@ void KTNEFMain::setupActions() actionCollection()->action("properties_file")->setEnabled(false); // Option menu - new KAction(i18n("Default Folder..."), TQString("folder_open"), 0, TQT_TQOBJECT(this), TQT_SLOT(optionDefaultDir()), actionCollection(), "options_default_dir"); + new TDEAction(i18n("Default Folder..."), TQString("folder_open"), 0, TQT_TQOBJECT(this), TQT_SLOT(optionDefaultDir()), actionCollection(), "options_default_dir"); createStandardStatusBarAction(); setStandardToolBarMenuEnabled(true); diff --git a/ktnef/gui/ktnefmain.h b/ktnef/gui/ktnefmain.h index 8e751928f..3d7901b0e 100644 --- a/ktnef/gui/ktnefmain.h +++ b/ktnef/gui/ktnefmain.h @@ -26,7 +26,7 @@ class KTNEFView; class KTNEFParser; class KTNEFAttach; -class KTNEFMain : public KMainWindow +class KTNEFMain : public TDEMainWindow { Q_OBJECT diff --git a/ktnef/gui/ktnefview.cpp b/ktnef/gui/ktnefview.cpp index 05ff229db..be3000aac 100644 --- a/ktnef/gui/ktnefview.cpp +++ b/ktnef/gui/ktnefview.cpp @@ -64,7 +64,7 @@ Attachment::~Attachment() //------------------------------------------------------------------------------------------------------ KTNEFView::KTNEFView(TQWidget *parent, const char *name) - : KListView(parent,name) + : TDEListView(parent,name) { attachments_.setAutoDelete(false); addColumn(i18n("File Name")); diff --git a/ktnef/gui/ktnefview.h b/ktnef/gui/ktnefview.h index 2db54d1f4..f6ffc6f81 100644 --- a/ktnef/gui/ktnefview.h +++ b/ktnef/gui/ktnefview.h @@ -24,7 +24,7 @@ class KTNEFAttach; -class KDE_EXPORT KTNEFView : public KListView +class KDE_EXPORT KTNEFView : public TDEListView { Q_OBJECT diff --git a/ktnef/gui/messagepropertydialog.cpp b/ktnef/gui/messagepropertydialog.cpp index 7f4d61e6b..73aba4ff9 100644 --- a/ktnef/gui/messagepropertydialog.cpp +++ b/ktnef/gui/messagepropertydialog.cpp @@ -29,7 +29,7 @@ MessagePropertyDialog::MessagePropertyDialog( TQWidget *parent, KTNEFMessage *ms { m_message = msg; - m_listview = new KListView( this ); + m_listview = new TDEListView( this ); m_listview->addColumn( i18n( "Name" ) ); m_listview->addColumn( i18n( "Value" ) ); m_listview->setAllColumnsShowFocus( true ); diff --git a/ktnef/gui/messagepropertydialog.h b/ktnef/gui/messagepropertydialog.h index 1c46fbb21..98ddb3745 100644 --- a/ktnef/gui/messagepropertydialog.h +++ b/ktnef/gui/messagepropertydialog.h @@ -20,7 +20,7 @@ #include <kdialogbase.h> -class KListView; +class TDEListView; class KTNEFMessage; class MessagePropertyDialog : public KDialogBase @@ -35,7 +35,7 @@ protected slots: private: KTNEFMessage *m_message; - KListView *m_listview; + TDEListView *m_listview; }; #endif /* MESSAGEPROPERTYDIALOG_H */ |